Skip to contentSkip to conversation

Fix plist include dependency

PATCH New Thomas Gleixner 1 participant 1 message Jun 28, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix plist include dependency

plist.h uses container_of, which is defined in kernel.h. Include kernel.h in plist.h as the kernel.h include does not longer happen automatically on all architectures.

include/linux/plist.h +1 -0
index 3404fae..b95818a 100644
@@ -73,6 +73,7 @@
 #ifndef _LINUX_PLIST_H_
 #define _LINUX_PLIST_H_
 
+#include <linux/kernel.h>
 #include <linux/list.h>
 #include <linux/spinlock_types.h>