diff options
-rw-r--r-- | config.h | 3 | ||||
-rw-r--r-- | extensions/libxt_bpf.c | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -85,3 +85,6 @@ /* Location of the iptables lock file */ #define XT_LOCK_NAME "/system/etc/xtables.lock" + +/* Define to 1 if you have the <linux/bpf.h> header file. */ +#define HAVE_LINUX_BPF_H 1 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 { |