]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90f14f83564558121741345b195bf1cbc83076a8
tree9a76609dc6538dfc11c18a2c5a8970414a37e8f8
parentc76c91135366f639589c6c9e5748a8ab01a6ddfb
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