summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-02-25 08:25:17 +0100
committerPatrick McHardy <kaber@trash.net>2009-02-25 08:25:17 +0100
commit71886fbb48ef50e212c43f5d7dffbab86f9ae31c (patch)
tree9836a8a6e802fc52f75e7642e95e5601a9fc04e8 /include
parentda68957303dea58632466d79d52f83bcbbca8925 (diff)
iptables: Add limits.h to get INT_MIN, INT_MAX, ...
Fix build failure of iptables utilities on debian/ubuntu, maybe other distros. The values INT_MIN and INT_MAX are used by many filters and these are defined in limits.h --- patch against current iptables.git Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/xtables.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xtables.h.in b/include/xtables.h.in
index 3f556c1c..d86276e7 100644
--- a/include/xtables.h.in
+++ b/include/xtables.h.in
@@ -8,6 +8,7 @@
#include <sys/socket.h> /* PF_* */
#include <sys/types.h>
+#include <limits.h>
#include <stdbool.h>
#include <netinet/in.h>
#include <net/if.h>