cleaned up for Solaris
authorewt <devnull@localhost>
Sun, 29 Sep 1996 02:22:27 +0000 (02:22 +0000)
committerewt <devnull@localhost>
Sun, 29 Sep 1996 02:22:27 +0000 (02:22 +0000)
CVS patchset: 1063
CVS date: 1996/09/29 02:22:27

ftp.c

diff --git a/ftp.c b/ftp.c
index 6fc4d1c..cd3e6c1 100644 (file)
--- a/ftp.c
+++ b/ftp.c
@@ -7,12 +7,10 @@
 #endif
 
 #ifdef HAVE_NETINET_IN_SYSTM_H
+# include <sys/types.h>
 # include <netinet/in_systm.h>
 #endif
 
-#include <netinet/in.h>
-#include <netinet/ip.h>
-#include <arpa/inet.h>
 #include <ctype.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <sys/types.h>
 #include <unistd.h>
 
+#include <netinet/in.h>
+#include <netinet/ip.h>
+#include <arpa/inet.h>
+
+#include "inet_aton.h"         /* for systems too stupid to provide this */
+
 #define TIMEOUT_SECS 60
 #define BUFFER_SIZE 4096