aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libbpf/10-include-stddef.patch
diff options
context:
space:
mode:
authorAdam Jensen <acjensen@gmail.com>2019-05-12 18:34:43 -0400
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-14 10:49:39 +0000
commit9925e648a61b88ab2158a3d0680acda6799917f1 (patch)
tree1ef430b30615e86c9a2b02281aaca462ff95a58b /testing/libbpf/10-include-stddef.patch
parent2740d7c334747a50b829ccde72ba88db601485a9 (diff)
downloadaports-9925e648a61b88ab2158a3d0680acda6799917f1.tar.bz2
aports-9925e648a61b88ab2158a3d0680acda6799917f1.tar.xz
testing/libbpf: new aport
https://github.com/libbpf/libbpf A library for interacting with the Linux kernel's Berkeley Packet Filter (BPF) facility from user space Closes GH-7860
Diffstat (limited to 'testing/libbpf/10-include-stddef.patch')
-rw-r--r--testing/libbpf/10-include-stddef.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/libbpf/10-include-stddef.patch b/testing/libbpf/10-include-stddef.patch
new file mode 100644
index 0000000000..e3fe4d1a9c
--- /dev/null
+++ b/testing/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>