From 1e9fc89f99502e0a4711c2683a5249f7407d51a8 Mon Sep 17 00:00:00 2001 From: Jaswinder Singh Rajput Date: Mon, 2 Feb 2009 21:44:09 +0530 Subject: [PATCH] --- yaml --- r: 135834 b: refs/heads/master c: 7d7dc0d6b0565484e0623cb08b5dcdd56424697b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/socket.h | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 26c85d3a7007..533848bbd4c8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9fe03bc3139503fbad66016bf714f4575babf651 +refs/heads/master: 7d7dc0d6b0565484e0623cb08b5dcdd56424697b diff --git a/trunk/include/linux/socket.h b/trunk/include/linux/socket.h index 20fc4bbfca42..afc01909a428 100644 --- a/trunk/include/linux/socket.h +++ b/trunk/include/linux/socket.h @@ -24,10 +24,12 @@ struct __kernel_sockaddr_storage { #include /* pid_t */ #include /* __user */ -#ifdef CONFIG_PROC_FS +#ifdef __KERNEL__ +# ifdef CONFIG_PROC_FS struct seq_file; extern void socket_seq_show(struct seq_file *seq); -#endif +# endif +#endif /* __KERNEL__ */ typedef unsigned short sa_family_t;