From: Jeff Layton Date: Fri, 28 Nov 2025 09:55:09 +0000 (+0100) Subject: vfs: add needed headers for new struct delegation definition X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4be9e04ebf75a5c4478c1c6295e2122e5dc98f5f;p=thirdparty%2Fkernel%2Flinux.git vfs: add needed headers for new struct delegation definition The definition of struct delegation uses stdint.h integer types. Add the necessary headers to ensure that always works. Fixes: 1602bad16d7d ("vfs: expose delegation support to userland") Signed-off-by: Jeff Layton Signed-off-by: Christian Brauner --- diff --git a/include/uapi/linux/fcntl.h b/include/uapi/linux/fcntl.h index 008fac15e5730..5e277fd955aae 100644 --- a/include/uapi/linux/fcntl.h +++ b/include/uapi/linux/fcntl.h @@ -4,6 +4,11 @@ #include #include +#ifdef __KERNEL__ +#include +#else +#include +#endif #define F_SETLEASE (F_LINUX_SPECIFIC_BASE + 0) #define F_GETLEASE (F_LINUX_SPECIFIC_BASE + 1)