summaryrefslogtreecommitdiff
path: root/include/linux/netfilter_decnet.h
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2011-08-24 18:45:36 +0000
committerDavid S. Miller <davem@davemloft.net>2011-08-26 12:02:50 -0400
commit598aaff2ee05c91728e5845956dd9754ed04315c (patch)
tree6f537ce36316252140a3350c468584e7bd8733ab /include/linux/netfilter_decnet.h
parent3828620bc0c2d055c3e66c075de4c2a609baec26 (diff)
headers, netfilter: Add missing #include <limits.h> for userland
Various headers use INT_MIN and INT_MAX, which are defined for userland in <limits.h>. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Acked-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netfilter_decnet.h')
-rw-r--r--include/linux/netfilter_decnet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netfilter_decnet.h b/include/linux/netfilter_decnet.h
index 6f425369ee29..0b09732aacd5 100644
--- a/include/linux/netfilter_decnet.h
+++ b/include/linux/netfilter_decnet.h
@@ -11,6 +11,9 @@
/* only for userspace compatibility */
#ifndef __KERNEL__
+
+#include <limits.h> /* for INT_MIN, INT_MAX */
+
/* IP Cache bits. */
/* Src IP address. */
#define NFC_DN_SRC 0x0001