aboutsummaryrefslogtreecommitdiffstats
path: root/interface.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-01-28 22:48:43 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-01-28 22:48:43 +0000
commit5f8ae577af5c85d29b8d14704441b4e46ea350fe (patch)
tree063d6c4a5c7b53c1b39d8aef7ac16baf829d45f5 /interface.c
parenta7acaf216371c2ac58e186c92d713ea1982e26df (diff)
downloadfetchmail-5f8ae577af5c85d29b8d14704441b4e46ea350fe.tar.gz
fetchmail-5f8ae577af5c85d29b8d14704441b4e46ea350fe.tar.bz2
fetchmail-5f8ae577af5c85d29b8d14704441b4e46ea350fe.zip
Better portability.
svn path=/trunk/; revision=837
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/interface.c b/interface.c
index 6342df7c..280c6b7e 100644
--- a/interface.c
+++ b/interface.c
@@ -15,7 +15,12 @@
#include <stdio.h>
#include <string.h>
+#if defined(STDC_HEADERS)
+#include <stdlib.h>
+#endif
+#if defined(HAVE_UNISTD_H)
#include <unistd.h>
+#endif
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <linux/netdevice.h>