summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-04-26 17:47:00 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-05-12 19:42:33 -0400
commitd3fcbef4706430f92401f9492e91137a0f130e89 (patch)
treec4d0721b9127d2543401025ff89511374a162d96
parenta0a33e65e3a1f2ee282ef24fea0f2999b978456e (diff)
bcachefs: Fix a userspace build error
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-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));