aports/testing/libbpf/10-include-stddef.patch
Adam Jensen 9925e648a6 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
2019-05-14 10:49:39 +00:00

13 lines
319 B
Diff

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>