]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - tools/lib/bpf/hashmap.h
Merge branch 'for-5.4/ish' into for-linus
[linux.git] / tools / lib / bpf / hashmap.h
index 03748a7421466c66ad9649561eda2cde29dc9f70..bae8879cdf58ae659ae8bfa71da0cf3f3877b294 100644 (file)
 
 #include <stdbool.h>
 #include <stddef.h>
+#ifdef __GLIBC__
+#include <bits/wordsize.h>
+#else
+#include <bits/reg.h>
+#endif
 #include "libbpf_internal.h"
 
 static inline size_t hash_bits(size_t h, int bits)