aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libbpf/30-include-bits-reg.patch
diff options
context:
space:
mode:
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)