summaryrefslogtreecommitdiff
path: root/libbcachefs
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs')
-rw-r--r--libbcachefs/bcachefs_format.h1
-rw-r--r--libbcachefs/siphash.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs/bcachefs_format.h b/libbcachefs/bcachefs_format.h
index 85f728f2..854e1c3d 100644
--- a/libbcachefs/bcachefs_format.h
+++ b/libbcachefs/bcachefs_format.h
@@ -6,6 +6,7 @@
*/
#include <asm/types.h>
+#include <linux/compiler.h>
#include <asm/byteorder.h>
#include <linux/uuid.h>
diff --git a/libbcachefs/siphash.c b/libbcachefs/siphash.c
index 3a6c9c82..d689a7b0 100644
--- a/libbcachefs/siphash.c
+++ b/libbcachefs/siphash.c
@@ -43,6 +43,7 @@
* https://131002.net/siphash/
*/
+#include <linux/compiler.h>
#include <asm/byteorder.h>
#include <asm/unaligned.h>
#include <linux/bitops.h>