diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2004-10-20 09:14:04 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2004-10-20 09:14:04 +0000 |
commit | 334cb452bfee4d0511f9591292903d01f58efaf9 (patch) | |
tree | 21d7baddc9b7fde16dfa1c315693623649144083 /fetchmail.h | |
parent | 65f9c5e8d026830b0fbd2583007c507e5e6e2b78 (diff) | |
download | fetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.tar.gz fetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.tar.bz2 fetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.zip |
Fix miscellaneous warnings.
svn path=/trunk/; revision=3953
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/fetchmail.h b/fetchmail.h index 6de7cf8a..a42dafa5 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -22,16 +22,9 @@ #include <stdio.h> -/* We need this for time_t */ -#if TIME_WITH_SYS_TIME -# include <sys/time.h> -# include <time.h> -#else -# if HAVE_SYS_TIME_H -# include <sys/time.h> -# else -# include <time.h> -# endif +/* We need this for strstr */ +#if !defined(HAVE_STRSTR) && !defined(strstr) +char *strstr(const char *, const char *); #endif /* constants designating the various supported protocols */ @@ -518,6 +511,7 @@ extern int mytimeout; /* idle.c */ int interruptible_idle(int interval); +extern volatile int lastsig; /* sink.c: forwarding */ void smtp_close(struct query *, int); |