fscrypt: include <linux/ioctl.h> in UAPI header
authorEric Biggers <ebiggers@google.com>
Thu, 19 Dec 2019 18:56:24 +0000 (10:56 -0800)
committerEric Biggers <ebiggers@google.com>
Tue, 31 Dec 2019 16:33:51 +0000 (10:33 -0600)
commite933adde6f97c4b51d39250c1dad0e89bd3fb1c7
tree9a76609dc6538dfc11c18a2c5a8970414a37e8f8
parent3b1ada55b905f306411f481df52b586cc8a407b8
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>
include/uapi/linux/fscrypt.h