summaryrefslogtreecommitdiff
path: root/system/libbpf/10-include-stddef.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/libbpf/10-include-stddef.patch')
-rw-r--r--system/libbpf/10-include-stddef.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/libbpf/10-include-stddef.patch b/system/libbpf/10-include-stddef.patch
new file mode 100644
index 000000000..e3fe4d1a9
--- /dev/null
+++ b/system/libbpf/10-include-stddef.patch
@@ -0,0 +1,12 @@
+diff --git a/src/libbpf.c b/src/libbpf.c
+index b38dcbe..bc3ac5d 100644
+--- a/src/libbpf.c
++++ b/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>