[PATCH] Make sysctl.h (again) usable from userspace
authorHarald Welte <laforge@gnumonks.org>
Tue, 15 Nov 2005 08:09:06 +0000 (00:09 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 15 Nov 2005 16:59:18 +0000 (08:59 -0800)
Make sysctl.h (again) useable from userspace

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/sysctl.h

index 64f203c45378e80c3949af13bf534958a7ce6441..6bc03c911a83269d83c2692adff04a66c444fbe6 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <linux/kernel.h>
 #include <linux/types.h>
-#include <linux/list.h>
 #include <linux/compiler.h>
 
 struct file;
@@ -859,6 +858,7 @@ enum
 };
 
 #ifdef __KERNEL__
+#include <linux/list.h>
 
 extern void sysctl_init(void);