2
0

100-missing_include.patch 599 B

1234567891011121314151617181920
  1. --- a/include/libnfnetlink/libnfnetlink.h
  2. +++ b/include/libnfnetlink/libnfnetlink.h
  3. @@ -15,6 +15,7 @@
  4. #define aligned_u64 unsigned long long __attribute__((aligned(8)))
  5. #endif
  6. +#include <sys/types.h>
  7. #include <sys/socket.h> /* for sa_family_t */
  8. #include <linux/netlink.h>
  9. #include <libnfnetlink/linux_nfnetlink.h>
  10. --- a/include/libnfnetlink/linux_nfnetlink.h
  11. +++ b/include/libnfnetlink/linux_nfnetlink.h
  12. @@ -1,6 +1,6 @@
  13. #ifndef _NFNETLINK_H
  14. #define _NFNETLINK_H
  15. -#include <linux/types.h>
  16. +#include <sys/types.h>
  17. #include <libnfnetlink/linux_nfnetlink_compat.h>
  18. enum nfnetlink_groups {