diff options
author | Eric Biggers <ebiggers@google.com> | 2019-12-19 19:56:24 +0100 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2019-12-31 17:33:51 +0100 |
commit | e933adde6f97c4b51d39250c1dad0e89bd3fb1c7 (patch) | |
tree | 9a76609dc6538dfc11c18a2c5a8970414a37e8f8 | |
parent | fscrypt: don't check for ENOKEY from fscrypt_get_encryption_info() (diff) | |
download | linux-e933adde6f97c4b51d39250c1dad0e89bd3fb1c7.tar.xz linux-e933adde6f97c4b51d39250c1dad0e89bd3fb1c7.zip |
fscrypt: include <linux/ioctl.h> in UAPI header
<linux/fscrypt.h> defines ioctl numbers using the macros like _IOWR()
which are defined in <linux/ioctl.h>, so <linux/ioctl.h> should be
included as a prerequisite, like it is in many other kernel headers.
In practice this doesn't really matter since anyone referencing these
ioctl numbers will almost certainly include <sys/ioctl.h> too in order
to actually call ioctl(). But we might as well fix this.
Link: https://lore.kernel.org/r/20191219185624.21251-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
-rw-r--r-- | include/uapi/linux/fscrypt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/fscrypt.h b/include/uapi/linux/fscrypt.h index d5112a24e8b9..0d8a6f47711c 100644 --- a/include/uapi/linux/fscrypt.h +++ b/include/uapi/linux/fscrypt.h @@ -8,6 +8,7 @@ #ifndef _UAPI_LINUX_FSCRYPT_H #define _UAPI_LINUX_FSCRYPT_H +#include <linux/ioctl.h> #include <linux/types.h> /* Encryption policy flags */ |