aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libbpf/30-include-bits-reg.patch
blob: fc3521a16023a32b6fa284a0931a1b2c34790293 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)