patch-2.3.99-pre9 linux/include/asm-mips/socket.h

Next file: linux/include/asm-mips/softirq.h
Previous file: linux/include/asm-mips/sni.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/include/asm-mips/socket.h linux/include/asm-mips/socket.h
@@ -1,8 +1,8 @@
 /*
- * $Id: socket.h,v 1.5 1998/03/17 22:16:17 ralf Exp $
+ * $Id: socket.h,v 1.6 2000/02/25 21:52:09 ralf Exp $
  */
-#ifndef __ASM_MIPS_SOCKET_H
-#define __ASM_MIPS_SOCKET_H
+#ifndef _ASM_SOCKET_H
+#define _ASM_SOCKET_H
 
 #include <asm/sockios.h>
 
@@ -56,6 +56,8 @@
 #define SO_ATTACH_FILTER        26
 #define SO_DETACH_FILTER        27
 
+#ifdef __KERNEL__
+
 #define SO_PEERNAME             28
 
 /* Types of sockets.  */
@@ -71,4 +73,6 @@
 				   the dev level.  For writing rarp and
 				   other similar things on the user level.  */
 
-#endif /* __ASM_MIPS_SOCKET_H */
+#endif /* __KERNEL__ */
+
+#endif /* _ASM_SOCKET_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)