signal: Kill bogus dependency on list.h
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 11 Dec 2023 18:34:45 +0000 (13:34 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 21 Dec 2023 00:26:31 +0000 (19:26 -0500)
list_head is in types.h, not list.h.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
include/linux/signal.h
include/linux/signal_types.h

index 3b98e7a28538bed10be95b43e996c4e715ae71e1..f19816832f0552ed9ccdd47db9a821d5eb84d6ff 100644 (file)
@@ -3,6 +3,7 @@
 #define _LINUX_SIGNAL_H
 
 #include <linux/bug.h>
+#include <linux/list.h>
 #include <linux/signal_types.h>
 #include <linux/string.h>
 
index a70b2bdbf4d9680a8f04adad34e02f645dfb52f5..caf4f7a59ab96d23bdf94e689be0efc7c3c34656 100644 (file)
@@ -6,7 +6,7 @@
  * Basic signal handling related data type definitions:
  */
 
-#include <linux/list.h>
+#include <linux/types.h>
 #include <uapi/linux/signal.h>
 
 typedef struct kernel_siginfo {