X-Git-Url: https://git.sesse.net/?p=betaftpd;a=blobdiff_plain;f=ftpd.c;h=5208bf71386935db7ea70efd589dbdedcde658fd;hp=d7f460621d8013a9d6cc08811093583e95cc4af0;hb=e782726047aa73c6dc592981d75ea21e1adf3d3d;hpb=40a7466516d51fe187b5422e27e3e71795ba830e diff --git a/ftpd.c b/ftpd.c index d7f4606..5208bf7 100644 --- a/ftpd.c +++ b/ftpd.c @@ -36,6 +36,10 @@ #include #endif +#if HAVE_SYS_TYPES_H +#include +#endif + #if HAVE_SYS_CONF_H #include #endif @@ -72,22 +76,14 @@ #include #endif -#if HAVE_ARPA_INET_H -#include -#endif - -#if HAVE_SYS_STAT_H -#include -#endif - -#if HAVE_SYS_IOCTL_H -#include -#endif - #if HAVE_NETINET_IN_SYSTM_H #include #endif +#if HAVE_NETINET_IN_H +#include +#endif + #if HAVE_NETINET_IP_H #include #endif @@ -96,6 +92,18 @@ #include #endif +#if HAVE_ARPA_INET_H +#include +#endif + +#if HAVE_SYS_STAT_H +#include +#endif + +#if HAVE_SYS_IOCTL_H +#include +#endif + #if HAVE_LINUX_SOCKET_H #include #endif