aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2004-01-13 07:31:25 +0000
committerEric S. Raymond <esr@thyrsus.com>2004-01-13 07:31:25 +0000
commite765df08b2c8868d4bda6ef660b209c560e4eded (patch)
treec50c23f9d6d6697a55fddecc67baba1522567d88 /fetchmail.h
parent798868f26c1bd20798f4ffc1a011bed9d063de99 (diff)
downloadfetchmail-e765df08b2c8868d4bda6ef660b209c560e4eded.tar.gz
fetchmail-e765df08b2c8868d4bda6ef660b209c560e4eded.tar.bz2
fetchmail-e765df08b2c8868d4bda6ef660b209c560e4eded.zip
Sunil Shetye's fix for SSL configuration.
svn path=/trunk/; revision=3875
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h
index 7d73032a..8f016ad3 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -8,6 +8,18 @@
/* We need this for size_t */
#include <sys/types.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
+#endif
+
/* constants designating the various supported protocols */
#define P_AUTO 1
#define P_POP2 2