From d3fcbef4706430f92401f9492e91137a0f130e89 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Wed, 26 Apr 2023 17:47:00 -0400 Subject: bcachefs: Fix a userspace build error Signed-off-by: Kent Overstreet --- fs/bcachefs/util.h | 2 ++ 1 file changed, 2 insertions(+) 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 + static inline int uuid_le_cmp(const uuid_le u1, const uuid_le u2) { return memcmp(&u1, &u2, sizeof(uuid_le)); -- cgit v1.2.3