aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-04-25 16:50:47 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-04-25 16:50:47 +0000
commit6063a3b5bd45f8d65aaec1e01cfe40177aa79c34 (patch)
tree269cc38e958b48990cba8b07f712ac18af9b8b70 /socket.c
parent3dc3191d603e1cd6b3874d4be6a977879cc0f2eb (diff)
downloadfetchmail-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
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/socket.c b/socket.c
index 50a48a81..d6c47adf 100644
--- a/socket.c
+++ b/socket.c
@@ -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"