aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-15 14:55:09 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-15 14:55:09 +0000
commite20b78fa61346bc038af5509f21afb2721a3c790 (patch)
treede679bb0563e74729fa128138e776702b99fbea1
parent4c2423a98542de4ab80ff75cb5987aa59f788ee1 (diff)
downloadfetchmail-e20b78fa61346bc038af5509f21afb2721a3c790.tar.gz
fetchmail-e20b78fa61346bc038af5509f21afb2721a3c790.tar.bz2
fetchmail-e20b78fa61346bc038af5509f21afb2721a3c790.zip
Header cleanup.
svn path=/trunk/; revision=338
-rw-r--r--driver.c4
-rw-r--r--socket.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index f9e53e91..a63ddb0f 100644
--- a/driver.c
+++ b/driver.c
@@ -13,7 +13,10 @@
#include <config.h>
#include <stdio.h>
+#if defined(STDC_HEADERS)
#include <stdlib.h>
+#include <string.h>
+#endif
#if defined(HAVE_STDARG_H)
#include <stdarg.h>
#else
@@ -21,7 +24,6 @@
#endif
#include <sys/time.h>
#include <signal.h>
-#include <string.h>
#ifdef KERBEROS_V4
#include <krb.h>
diff --git a/socket.c b/socket.c
index 1a6c6047..9347e367 100644
--- a/socket.c
+++ b/socket.c
@@ -22,6 +22,7 @@
#include <sys/ioctl.h>
#if defined(STDC_HEADERS)
#include <string.h>
+#include <stdlib.h>
#endif
#if defined(HAVE_UNISTD_H)
#include <unistd.h>
@@ -31,7 +32,6 @@
#else
#include <varargs.h>
#endif
-#include <stdlib.h>
#include <errno.h>
#include "socket.h"