git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
asm-mips
/
socket.h
diff --git
a/include/asm-mips/socket.h
b/include/asm-mips/socket.h
index
eba99d2
..
020b4db
100644
(file)
--- a/
include/asm-mips/socket.h
+++ b/
include/asm-mips/socket.h
@@
-68,6
+68,8
@@
To add: #define SO_REUSEPORT 0x0200 /* Allow local address and port reuse. */
#define SO_PEERSEC 30
#define SO_PEERSEC 30
+#ifdef __KERNEL__
+
/** sock_type - Socket types
*
* Please notice that for binary compat reasons MIPS has to
/** sock_type - Socket types
*
* Please notice that for binary compat reasons MIPS has to
@@
-93,6
+95,8
@@
enum sock_type {
#define SOCK_MAX (SOCK_PACKET + 1)
#define SOCK_MAX (SOCK_PACKET + 1)
-#define ARCH_HAS_SOCKET_TYPES
+#define ARCH_HAS_SOCKET_TYPES 1
+
+#endif /* __KERNEL__ */
#endif /* _ASM_SOCKET_H */
#endif /* _ASM_SOCKET_H */