aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_tag.c
diff options
context:
space:
mode:
authorMickaël Salaün <mic@digikod.net>2017-02-10 00:21:44 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-10 15:56:08 -0500
commit702498a1426bc95b6f49f9c5fba616110cbd3947 (patch)
treefbe8a2496ebf88342e7e79030a33f0a865de7689 /tools/testing/selftests/bpf/test_tag.c
parentbpf: Use bpf_create_map() from the library (diff)
downloadlinux-dev-702498a1426bc95b6f49f9c5fba616110cbd3947.tar.xz
linux-dev-702498a1426bc95b6f49f9c5fba616110cbd3947.zip
bpf: Remove bpf_sys.h from selftests
Add require dependency headers. Signed-off-by: Mickaël Salaün <mic@digikod.net> Cc: Alexei Starovoitov <ast@fb.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/test_tag.c')
-rw-r--r--tools/testing/selftests/bpf/test_tag.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/testing/selftests/bpf/test_tag.c b/tools/testing/selftests/bpf/test_tag.c
index ae4263638cd5..de409fc50c35 100644
--- a/tools/testing/selftests/bpf/test_tag.c
+++ b/tools/testing/selftests/bpf/test_tag.c
@@ -1,3 +1,4 @@
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
@@ -20,8 +21,6 @@
#include "../../../include/linux/filter.h"
-#include "bpf_sys.h"
-
static struct bpf_insn prog[BPF_MAXINSNS];
static void bpf_gen_imm_prog(unsigned int insns, int fd_map)