summaryrefslogtreecommitdiffstats
path: root/include/libiptc/ipt_kernel_headers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libiptc/ipt_kernel_headers.h')
-rw-r--r--include/libiptc/ipt_kernel_headers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libiptc/ipt_kernel_headers.h b/include/libiptc/ipt_kernel_headers.h
index bc143b12..f324f77e 100644
--- a/include/libiptc/ipt_kernel_headers.h
+++ b/include/libiptc/ipt_kernel_headers.h
@@ -3,6 +3,8 @@
#ifndef _FWCHAINS_KERNEL_HEADERS_H
#define _FWCHAINS_KERNEL_HEADERS_H
+#include <limits.h>
+
#if defined(__GLIBC__) && __GLIBC__ == 2
#include <netinet/ip.h>
#include <netinet/ip_icmp.h>
@@ -10,7 +12,6 @@
#include <netinet/udp.h>
#include <net/if.h>
#include <sys/types.h>
-#include <limits.h>
#else /* libc5 */
#include <sys/socket.h>
#include <linux/ip.h>