headers, netfilter: Add missing #include <limits.h> for userland
authorBen Hutchings <ben@decadent.org.uk>
Wed, 24 Aug 2011 18:45:36 +0000 (18:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2011 16:02:50 +0000 (12:02 -0400)
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>
include/linux/netfilter_decnet.h
include/linux/netfilter_ipv4.h
include/linux/netfilter_ipv6.h

index 6f425369ee29b09a395652f6557ddecfe3f7ee4e..0b09732aacd5a196721f79243d157339af66a7a1 100644 (file)
@@ -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
index 29c7727ff0e82faa06a636d10ff64eab8c5af2ca..fa0946c549d3e874fb52324a3a4db20e41a7b67b 100644 (file)
@@ -9,6 +9,9 @@
 
 /* only for userspace compatibility */
 #ifndef __KERNEL__
+
+#include <limits.h> /* for INT_MIN, INT_MAX */
+
 /* IP Cache bits. */
 /* Src IP address. */
 #define NFC_IP_SRC             0x0001
index 1f7e300094cd4777ffe98600cc5319bcf5bb406f..57c025127f1d48fb9447cec9ee38381532d3a29d 100644 (file)
@@ -12,6 +12,9 @@
 
 /* only for userspace compatibility */
 #ifndef __KERNEL__
+
+#include <limits.h> /* for INT_MIN, INT_MAX */
+
 /* IP Cache bits. */
 /* Src IP address. */
 #define NFC_IP6_SRC              0x0001