diff options
Diffstat (limited to 'package/libs/libnfnetlink/patches/100-missing_include.patch')
-rw-r--r-- | package/libs/libnfnetlink/patches/100-missing_include.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/libs/libnfnetlink/patches/100-missing_include.patch b/package/libs/libnfnetlink/patches/100-missing_include.patch new file mode 100644 index 0000000..163307d --- /dev/null +++ b/package/libs/libnfnetlink/patches/100-missing_include.patch @@ -0,0 +1,20 @@ +--- a/include/libnfnetlink/libnfnetlink.h ++++ b/include/libnfnetlink/libnfnetlink.h +@@ -15,6 +15,7 @@ + #define aligned_u64 unsigned long long __attribute__((aligned(8))) + #endif + ++#include <sys/types.h> + #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 { |