summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-12-11 19:58:25 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-12-21 01:26:31 +0100
commitbc46ef3cea3d6f63952d7e29a324e889c34970a8 (patch)
treec3147c0dea21815c8b924e9f4a2ae6a29ea251f3 /ipc
parentworkqueue: Split out workqueue_types.h (diff)
downloadlinux-bc46ef3cea3d6f63952d7e29a324e889c34970a8.tar.xz
linux-bc46ef3cea3d6f63952d7e29a324e889c34970a8.zip
shm: Slim down dependencies
list_head is in types.h, not list.h., and the uapi header wasn't needed. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'ipc')
-rw-r--r--ipc/shm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/shm.c b/ipc/shm.c
index 222aaf035afb..a89f001a8bf0 100644
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -29,6 +29,7 @@
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <linux/shm.h>
+#include <uapi/linux/shm.h>
#include <linux/init.h>
#include <linux/file.h>
#include <linux/mman.h>