summaryrefslogtreecommitdiff
path: root/samples/bpf/sockex1_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/sockex1_kern.c')
-rw-r--r--samples/bpf/sockex1_kern.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/bpf/sockex1_kern.c b/samples/bpf/sockex1_kern.c
index ed18e9a4909c..f96943f443ab 100644
--- a/samples/bpf/sockex1_kern.c
+++ b/samples/bpf/sockex1_kern.c
@@ -3,6 +3,7 @@
#include <uapi/linux/if_packet.h>
#include <uapi/linux/ip.h>
#include "bpf_helpers.h"
+#include "bpf_legacy.h"
struct bpf_map_def SEC("maps") my_map = {
.type = BPF_MAP_TYPE_ARRAY,