From 334cb452bfee4d0511f9591292903d01f58efaf9 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 20 Oct 2004 09:14:04 +0000 Subject: Fix miscellaneous warnings. svn path=/trunk/; revision=3953 --- fetchmail.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'fetchmail.h') diff --git a/fetchmail.h b/fetchmail.h index 6de7cf8a..a42dafa5 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -22,16 +22,9 @@ #include -/* We need this for time_t */ -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# 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); -- cgit v1.2.3