[PATCH] Make sysctl.h (again) useable from userspace

From: Harald Welte
Date: Mon Nov 14 2005 - 12:35:36 EST


Make sysctl.h (again) useable from userspace

Signed-off-by: Harald Welte <laforge@xxxxxxxxxxxxx>

---
commit b3d70298da3a00f29dd82cf16c1f13407ad2ac09
tree 740a126b72a8c1b1281ae159c0966960934aa207
parent 67e27e3ff7ef24e505d49d368fc3504569de86ef
author Harald Welte <laforge@xxxxxxxxxxxxx> Mon, 14 Nov 2005 18:32:50 +0100
committer Harald Welte <laforge@xxxxxxxxxxxxx> Mon, 14 Nov 2005 18:32:50 +0100

include/linux/sysctl.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -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);

--
- Harald Welte <laforge@xxxxxxxxxxxx> http://gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)

Attachment: pgp00000.pgp
Description: PGP signature