aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libbpf/30-include-bits-reg.patch
diff options
context:
space:
mode:
authorAdam Jensen <acjensen@gmail.com>2019-07-31 06:20:22 -0400
committerLeo <thinkabit.ukim@gmail.com>2019-07-31 08:18:52 -0300
commit586363286c8cedd8d01b0521e23868e6a125abb5 (patch)
tree38e4eec727d790fc9195e58687ec5fe0c80cb569 /testing/libbpf/30-include-bits-reg.patch
parente3c2cc82f61b903619474889096739a168a1a552 (diff)
downloadaports-586363286c8cedd8d01b0521e23868e6a125abb5.tar.bz2
aports-586363286c8cedd8d01b0521e23868e6a125abb5.tar.xz
testing/bcc: upgrade to 0.10.0
Diffstat (limited to 'testing/libbpf/30-include-bits-reg.patch')
-rw-r--r--testing/libbpf/30-include-bits-reg.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/libbpf/30-include-bits-reg.patch b/testing/libbpf/30-include-bits-reg.patch
new file mode 100644
index 0000000000..fc3521a160
--- /dev/null
+++ b/testing/libbpf/30-include-bits-reg.patch
@@ -0,0 +1,12 @@
+diff --git a/src/hashmap.h b/src/hashmap.h
+index 03748a7..e83055e 100644
+--- a/src/hashmap.h
++++ b/src/hashmap.h
+@@ -10,4 +10,5 @@
+
+ #include <stdbool.h>
+ #include <stddef.h>
++#include <bits/reg.h>
+ #include "libbpf_internal.h"
+
+ static inline size_t hash_bits(size_t h, int bits)