summaryrefslogtreecommitdiffstats
path: root/include/libiptc/ipt_kernel_headers.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@linuxcare.com.au>2000-06-02 20:12:24 +0000
committerRusty Russell <rusty@rustcorp.com.au>2000-06-02 20:12:24 +0000
commit5eed48af2516ebce0412121713d285bc30edb10d (patch)
tree55d6e37bc7c33bfb022af33eafd558f2bbbe69d2 /include/libiptc/ipt_kernel_headers.h
parent4e242f822ef0add1359c540ed0cf3acdf74c63f3 (diff)
Philip Blundell's IPv6 patches.
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>