diff options
| author | Isaac J. Manjarres <isaacmanjarres@google.com> | 2026-03-02 16:23:09 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-04-11 14:16:04 +0200 |
| commit | f2e914a4373ae312e726da4ee722ee64e171bd39 (patch) | |
| tree | a16b3d673711a175e12d1845cbf02aa2802ceafe /include/uapi/linux | |
| parent | 98e3102e5be1e5497dd186f01664065a32a7e3be (diff) | |
| download | linux-f2e914a4373ae312e726da4ee722ee64e171bd39.tar.gz linux-f2e914a4373ae312e726da4ee722ee64e171bd39.tar.bz2 linux-f2e914a4373ae312e726da4ee722ee64e171bd39.zip | |
dma-buf: Include ioctl.h in UAPI header
[ Upstream commit a116bac87118903925108e57781bbfc7a7eea27b ]
include/uapi/linux/dma-buf.h uses several macros from ioctl.h to define
its ioctl commands. However, it does not include ioctl.h itself. So,
if userspace source code tries to include the dma-buf.h file without
including ioctl.h, it can result in build failures.
Therefore, include ioctl.h in the dma-buf UAPI header.
Signed-off-by: Isaac J. Manjarres <isaacmanjarres@google.com>
Reviewed-by: T.J. Mercier <tjmercier@google.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://lore.kernel.org/r/20260303002309.1401849-1-isaacmanjarres@google.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/dma-buf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/dma-buf.h b/include/uapi/linux/dma-buf.h index 5a6fda66d9ad..e827c9d20c5d 100644 --- a/include/uapi/linux/dma-buf.h +++ b/include/uapi/linux/dma-buf.h @@ -20,6 +20,7 @@ #ifndef _DMA_BUF_UAPI_H_ #define _DMA_BUF_UAPI_H_ +#include <linux/ioctl.h> #include <linux/types.h> /** |
