libnfnetlink: fix musl compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41061
This commit is contained in:
parent
d73f553b0b
commit
24662e6122
10
package/libs/libnfnetlink/patches/100-missing_include.patch
Normal file
10
package/libs/libnfnetlink/patches/100-missing_include.patch
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user