diff options
| author | Jeff Layton <jlayton@kernel.org> | 2025-11-28 10:55:09 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-11-28 10:55:34 +0100 |
| commit | 4be9e04ebf75a5c4478c1c6295e2122e5dc98f5f (patch) | |
| tree | fa495c8262e0091220433298f25e9468d2ada34f | |
| parent | 01c9c30aae317adc3ae7246f545b2c83b16ff314 (diff) | |
| download | tip-4be9e04ebf75.tar.gz | |
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 <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
| -rw-r--r-- | include/uapi/linux/fcntl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/fcntl.h b/include/uapi/linux/fcntl.h index 008fac15e57308..5e277fd955aae5 100644 --- a/include/uapi/linux/fcntl.h +++ b/include/uapi/linux/fcntl.h @@ -4,6 +4,11 @@ #include <asm/fcntl.h> #include <linux/openat2.h> +#ifdef __KERNEL__ +#include <linux/types.h> +#else +#include <stdint.h> +#endif #define F_SETLEASE (F_LINUX_SPECIFIC_BASE + 0) #define F_GETLEASE (F_LINUX_SPECIFIC_BASE + 1) |
