summaryrefslogtreecommitdiff
path: root/system/libbpf/10-include-stddef.patch
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2021-10-06 21:43:44 +0000
committerDan Theisen <djt@hxx.in>2021-10-06 21:52:03 +0000
commit1a53921400c08bfbff5c36ce5b7df1f833f588d4 (patch)
tree9d65f845daa32b11d076a345ca42447ec6702734 /system/libbpf/10-include-stddef.patch
parent1b806474fc3942a76f25fa12878275749421aaee (diff)
downloadpackages-1a53921400c08bfbff5c36ce5b7df1f833f588d4.tar.gz
packages-1a53921400c08bfbff5c36ce5b7df1f833f588d4.tar.bz2
packages-1a53921400c08bfbff5c36ce5b7df1f833f588d4.tar.xz
packages-1a53921400c08bfbff5c36ce5b7df1f833f588d4.zip
system/libbpf: new package
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>