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 3b98e7a..f198168 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 a70b2bd..caf4f7a 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 {