diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-04-25 16:50:47 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-04-25 16:50:47 +0000 |
commit | 6063a3b5bd45f8d65aaec1e01cfe40177aa79c34 (patch) | |
tree | 269cc38e958b48990cba8b07f712ac18af9b8b70 | |
parent | 3dc3191d603e1cd6b3874d4be6a977879cc0f2eb (diff) | |
download | fetchmail-6063a3b5bd45f8d65aaec1e01cfe40177aa79c34.tar.gz fetchmail-6063a3b5bd45f8d65aaec1e01cfe40177aa79c34.tar.bz2 fetchmail-6063a3b5bd45f8d65aaec1e01cfe40177aa79c34.zip |
Merge SuSE's fetchmail-6.2.5-implicit-declaration.patch
svn path=/trunk/; revision=4036
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | fetchmail.c | 4 | ||||
-rw-r--r-- | socket.c | 11 |
3 files changed, 16 insertions, 0 deletions
@@ -59,6 +59,7 @@ OLDNEWS file. (Matthias Andree) * Merge SuSE patches: (sent by Stanislav Brabec, merged by Matthias Andree) - fetchmail-6.2.5-declaration.patch (double sigint_handler decl) + - fetchmail-6.2.5-implicit-declaration.patch (missing #include) fetchmail-6.2.5 (Wed Oct 15 18:39:22 EDT 2003), 23079 lines: diff --git a/fetchmail.c b/fetchmail.c index 7bc6d4ea..1398a688 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -30,6 +30,10 @@ #endif /* HAVE_SETRLIMIT */ #include <sys/utsname.h> +#ifdef HAVE_SOCKS +#include <socks.h> /* SOCKSinit() */ +#endif /* HAVE_SOCKS */ + #ifdef HAVE_LANGINFO_H #include <langinfo.h> #endif @@ -37,6 +37,17 @@ #else #include <varargs.h> #endif +#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 +#endif + #include "socket.h" #include "fetchmail.h" #include "i18n.h" |