aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bcc/20-libbpf-include-stddef.patch
blob: 34523b230695e0497a6c714ce23cd94146848976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/cc/libbpf/src/libbpf.c b/src/cc/libbpf/src/libbpf.c
index b38dcbe..bc3ac5d 100644
--- a/src/cc/libbpf/src/libbpf.c
+++ b/src/cc/libbpf/src/libbpf.c
@@ -29,6 +29,7 @@
 #include <linux/filter.h>
 #include <linux/list.h>
 #include <linux/limits.h>
+#include <linux/stddef.h>
 #include <linux/perf_event.h>
 #include <linux/ring_buffer.h>
 #include <sys/stat.h>