diff options
Diffstat (limited to 'common/spio.c')
-rw-r--r-- | common/spio.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/common/spio.c b/common/spio.c index 01993fb..992e2df 100644 --- a/common/spio.c +++ b/common/spio.c @@ -35,6 +35,8 @@ * Stef Walter <stef@memberwebs.com> */ +#include "config.h" + /* * select() and stdio are basically mutually exclusive. * Hence all of this code to try to get some buffering @@ -47,13 +49,6 @@ #include <sys/param.h> #include <sys/stat.h> -#include <netinet/in.h> - -#ifdef HAVE_IP_TRANSPARENT -#include <linux/types.h> -#include <linux/netfilter_ipv4.h> -#endif - #include <ctype.h> #include <stdio.h> #include <unistd.h> @@ -64,6 +59,13 @@ #include <unistd.h> #include <errno.h> +#include <netinet/in.h> + +#ifdef HAVE_IP_TRANSPARENT +#include <linux/types.h> +#include <linux/netfilter_ipv4.h> +#endif + #include "compat.h" #include "usuals.h" #include "sock_any.h" |