summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/bcachefs/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/util.h b/fs/bcachefs/util.h
index 0adf232a2c7c..9eb86c58e550 100644
--- a/fs/bcachefs/util.h
+++ b/fs/bcachefs/util.h
@@ -837,6 +837,8 @@ static inline int u8_cmp(u8 l, u8 r)
return cmp_int(l, r);
}
+#include <linux/uuid.h>
+
static inline int uuid_le_cmp(const uuid_le u1, const uuid_le u2)
{
return memcmp(&u1, &u2, sizeof(uuid_le));