patch-2.1.44 linux/net/unix/sysctl_net_unix.c

Next file: linux/net/x25/af_x25.c
Previous file: linux/net/unix/af_unix.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.43/linux/net/unix/sysctl_net_unix.c linux/net/unix/sysctl_net_unix.c
@@ -13,6 +13,9 @@
 
 #include <linux/mm.h>
 #include <linux/sysctl.h>
+#include <linux/config.h>
+
+#ifdef CONFIG_SYSCTL
 
 extern int sysctl_unix_destroy_delay;
 extern int sysctl_unix_delete_delay;
@@ -26,3 +29,4 @@
 	 &proc_dointvec_jiffies},
 	{0}
 };
+#endif

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