diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-09 13:47:56 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-09 13:47:56 +0000 |
commit | 24662e61228a774ae756054aee41997ad3617e12 (patch) | |
tree | 8a31ea607cf72d6b45525ef057c4844f75aa562c /package/libs/libnfnetlink/patches/100-missing_include.patch | |
parent | d73f553b0ba3fd7c86df907e3fc9fb2da50335e6 (diff) | |
download | mtk-20170518-24662e61228a774ae756054aee41997ad3617e12.zip mtk-20170518-24662e61228a774ae756054aee41997ad3617e12.tar.gz mtk-20170518-24662e61228a774ae756054aee41997ad3617e12.tar.bz2 |
libnfnetlink: fix musl compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41061
Diffstat (limited to 'package/libs/libnfnetlink/patches/100-missing_include.patch')
-rw-r--r-- | package/libs/libnfnetlink/patches/100-missing_include.patch | 10 |
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 new file mode 100644 index 0000000..68155c3 --- /dev/null +++ b/package/libs/libnfnetlink/patches/100-missing_include.patch @@ -0,0 +1,10 @@ +--- 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> |