aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libnfnetlink/patches/100-missing_include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/libnfnetlink/patches/100-missing_include.patch')
-rw-r--r--package/libs/libnfnetlink/patches/100-missing_include.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/libs/libnfnetlink/patches/100-missing_include.patch b/package/libs/libnfnetlink/patches/100-missing_include.patch
index 68155c3005..163307d895 100644
--- a/package/libs/libnfnetlink/patches/100-missing_include.patch
+++ b/package/libs/libnfnetlink/patches/100-missing_include.patch
@@ -8,3 +8,13 @@
#include <sys/socket.h> /* for sa_family_t */
#include <linux/netlink.h>
#include <libnfnetlink/linux_nfnetlink.h>
+--- a/include/libnfnetlink/linux_nfnetlink.h
++++ b/include/libnfnetlink/linux_nfnetlink.h
+@@ -1,6 +1,6 @@
+ #ifndef _NFNETLINK_H
+ #define _NFNETLINK_H
+-#include <linux/types.h>
++#include <sys/types.h>
+ #include <libnfnetlink/linux_nfnetlink_compat.h>
+
+ enum nfnetlink_groups {