summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/socket.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-08 00:53:00 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-08 00:53:00 +0000
commitb8553086288629b4efb77e97f5582e08bc50ad65 (patch)
tree0a19bd1c21e148f35c7a0f76baa4f7a056b966b0 /include/asm-i386/socket.h
parent75b6d92f2dd5112b02f4e78cf9f35f9825946ef0 (diff)
Merge with 2.4.0-test3-pre4.
Diffstat (limited to 'include/asm-i386/socket.h')
-rw-r--r--include/asm-i386/socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-i386/socket.h b/include/asm-i386/socket.h
index b547eeca1..9dc6c3389 100644
--- a/include/asm-i386/socket.h
+++ b/include/asm-i386/socket.h
@@ -41,8 +41,8 @@
#define SO_PEERNAME 28
-/* Nast libc5 fixup - bletch */
-#if defined(__KERNEL__)
+/* Nasty libc5 fixup - bletch */
+#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
/* Socket types. */
#define SOCK_STREAM 1 /* stream (connection) socket */
#define SOCK_DGRAM 2 /* datagram (conn.less) socket */