patch-2.1.44 linux/net/core/sysctl_net_core.c

Next file: linux/net/ipv4/Config.in
Previous file: linux/net/ax25/sysctl_net_ax25.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.43/linux/net/core/sysctl_net_core.c linux/net/core/sysctl_net_core.c
@@ -7,6 +7,9 @@
 
 #include <linux/mm.h>
 #include <linux/sysctl.h>
+#include <linux/config.h>
+
+#ifdef CONFIG_SYSCTL
 
 extern __u32 sysctl_wmem_max;
 extern __u32 sysctl_rmem_max;
@@ -33,3 +36,4 @@
 	 &proc_dointvec_jiffies},
 	{ 0 }
 };
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov