Commit 598aaff2 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller

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: default avatarBen Hutchings <ben@decadent.org.uk>
Acked-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3828620b
...@@ -11,6 +11,9 @@ ...@@ -11,6 +11,9 @@
/* only for userspace compatibility */ /* only for userspace compatibility */
#ifndef __KERNEL__ #ifndef __KERNEL__
#include <limits.h> /* for INT_MIN, INT_MAX */
/* IP Cache bits. */ /* IP Cache bits. */
/* Src IP address. */ /* Src IP address. */
#define NFC_DN_SRC 0x0001 #define NFC_DN_SRC 0x0001
......
...@@ -9,6 +9,9 @@ ...@@ -9,6 +9,9 @@
/* only for userspace compatibility */ /* only for userspace compatibility */
#ifndef __KERNEL__ #ifndef __KERNEL__
#include <limits.h> /* for INT_MIN, INT_MAX */
/* IP Cache bits. */ /* IP Cache bits. */
/* Src IP address. */ /* Src IP address. */
#define NFC_IP_SRC 0x0001 #define NFC_IP_SRC 0x0001
......
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
/* only for userspace compatibility */ /* only for userspace compatibility */
#ifndef __KERNEL__ #ifndef __KERNEL__
#include <limits.h> /* for INT_MIN, INT_MAX */
/* IP Cache bits. */ /* IP Cache bits. */
/* Src IP address. */ /* Src IP address. */
#define NFC_IP6_SRC 0x0001 #define NFC_IP6_SRC 0x0001
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment