summaryrefslogtreecommitdiffstats
path: root/include/asm-s390
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-05-16 10:32:49 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-05-16 10:32:49 +0000
commit840ea4e54f944971741e0bf4b1b9d9f6f417634d (patch)
tree883b1e4c6bf264329e39bd59f51805953d34059a /include/asm-s390
parent7438179b9fdc54ef8d2d3f573db0ef253e3fdba9 (diff)
Fix SOCK_ constant definitions for all architectures. Patch sent to
Linus. Our diffs relativ to Linus' latest and greatest is getting fairly small now.
Diffstat (limited to 'include/asm-s390')
-rw-r--r--include/asm-s390/socket.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/include/asm-s390/socket.h b/include/asm-s390/socket.h
index 21368c91b..703a7bd58 100644
--- a/include/asm-s390/socket.h
+++ b/include/asm-s390/socket.h
@@ -41,20 +41,6 @@
#define SO_SECURITY_ENCRYPTION_TRANSPORT 23
#define SO_SECURITY_ENCRYPTION_NETWORK 24
-#ifdef __KERNEL__
-/* Socket types. */
-#define SOCK_STREAM 1 /* stream (connection) socket */
-#define SOCK_DGRAM 2 /* datagram (conn.less) socket */
-#define SOCK_RAW 3 /* raw socket */
-#define SOCK_RDM 4 /* reliably-delivered message */
-#define SOCK_SEQPACKET 5 /* sequential packet socket */
-#define SOCK_PACKET 10 /* linux specific way of */
- /* getting packets at the dev */
- /* level. For writing rarp and */
- /* other similar things on the */
- /* user level. */
-#endif
-
#define SO_BINDTODEVICE 25
/* Socket filtering */
@@ -63,4 +49,19 @@
#define SO_PEERNAME 28
+/* Nast libc5 fixup - bletch */
+#if defined(__KERNEL__)
+/* Socket types. */
+#define SOCK_STREAM 1 /* stream (connection) socket */
+#define SOCK_DGRAM 2 /* datagram (conn.less) socket */
+#define SOCK_RAW 3 /* raw socket */
+#define SOCK_RDM 4 /* reliably-delivered message */
+#define SOCK_SEQPACKET 5 /* sequential packet socket */
+#define SOCK_PACKET 10 /* linux specific way of */
+ /* getting packets at the dev */
+ /* level. For writing rarp and */
+ /* other similar things on the */
+ /* user level. */
+#endif
+
#endif /* _ASM_SOCKET_H */