aports/testing/libbpf/30-include-bits-reg.patch
2019-07-31 08:18:52 -03:00

13 lines
281 B
Diff

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)