summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '4.16/00_all_0002-netfilter-pull-in-limits.h.patch')
-rw-r--r--4.16/00_all_0002-netfilter-pull-in-limits.h.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/4.16/00_all_0002-netfilter-pull-in-limits.h.patch b/4.16/00_all_0002-netfilter-pull-in-limits.h.patch
new file mode 100644
index 0000000..187b822
--- /dev/null
+++ b/4.16/00_all_0002-netfilter-pull-in-limits.h.patch
@@ -0,0 +1,28 @@
+From 7789b768b7aa1f69626c894f2b6d729622a75bbd Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Sat, 9 May 2009 17:30:35 -0400
+Subject: [PATCH] netfilter: pull in limits.h
+
+A few netfilter sub-headers use INT_MAX which is in limits.h.
+
+URL: http://bugs.gentoo.org/246160
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ include/uapi/linux/netfilter.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/uapi/linux/netfilter.h b/include/uapi/linux/netfilter.h
+index cca10e767cd8..de6d76399cd7 100644
+--- a/include/uapi/linux/netfilter.h
++++ b/include/uapi/linux/netfilter.h
+@@ -6,6 +6,7 @@
+ #include <linux/compiler.h>
+ #include <linux/in.h>
+ #include <linux/in6.h>
++#include <limits.h>
+
+ /* Responses from hook functions. */
+ #define NF_DROP 0
+--
+2.16.1
+