]> git.sesse.net Git - betaftpd/commitdiff
Added some system header files and changed the order (\!) of others -- this makes...
authorsgunderson <sgunderson>
Fri, 9 Mar 2001 19:16:18 +0000 (19:16 +0000)
committersgunderson <sgunderson>
Fri, 9 Mar 2001 19:16:18 +0000 (19:16 +0000)
cmds.c
ftpd.c

diff --git a/cmds.c b/cmds.c
index 255b29335f0ba021c05f34455c10fe8a49ad36f0..c17fef9508dfe79c25ec6340ba781fdd7326e82c 100644 (file)
--- a/cmds.c
+++ b/cmds.c
 #include <stropts.h>
 #endif
 
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
 #if HAVE_SYS_CONF_H
 #include <sys/conf.h>
 #endif
diff --git a/ftpd.c b/ftpd.c
index d7f460621d8013a9d6cc08811093583e95cc4af0..5208bf71386935db7ea70efd589dbdedcde658fd 100644 (file)
--- a/ftpd.c
+++ b/ftpd.c
 #include <stropts.h>
 #endif
 
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
 #if HAVE_SYS_CONF_H
 #include <sys/conf.h>
 #endif
 #include <unistd.h>
 #endif
 
-#if HAVE_ARPA_INET_H
-#include <arpa/inet.h>
-#endif
-
-#if HAVE_SYS_STAT_H
-#include <sys/stat.h>
-#endif
-
-#if HAVE_SYS_IOCTL_H
-#include <sys/ioctl.h>
-#endif
-
 #if HAVE_NETINET_IN_SYSTM_H
 #include <netinet/in_systm.h>
 #endif
 
+#if HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
 #if HAVE_NETINET_IP_H
 #include <netinet/ip.h>
 #endif
 #include <netinet/tcp.h>
 #endif
 
+#if HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
+
+#if HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
+
+#if HAVE_SYS_IOCTL_H
+#include <sys/ioctl.h>
+#endif
+
 #if HAVE_LINUX_SOCKET_H
 #include <linux/socket.h>
 #endif