This include is needed to compile the bpf_obj_get function properly,
as it brings in the __NR_bpf declaration.
---
extensions/libxt_bpf.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/extensions/libxt_bpf.c b/extensions/libxt_bpf.c
index 92c445e8..9510c190 100644
--- a/extensions/libxt_bpf.c
+++ b/extensions/libxt_bpf.c
@@ -22,6 +22,8 @@
#include <linux/bpf.h>
#endif
+#include <linux/unistd.h>
+
#define BCODE_FILE_MAX_LEN_B 1024
enum {
--
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html