lkml.org 
[lkml]   [2000]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Compile fix for asm-i386/socket.h
  Hi, Linus. Please apply the follow patch: it fixes the "fixup"
someone recently added to include/asm-i386/socket.h
Patch is against 2.4.0-test3-pre2.

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
===============================================================================
diff -urN linux-2.4.0-test3-pre2/include/asm-i386/socket.h linux/include/asm-i386/socket.h
--- linux-2.4.0-test3-pre2/include/asm-i386/socket.h Mon Jun 19 14:42:42 2000
+++ linux/include/asm-i386/socket.h Mon Jul 3 14:03:59 2000
@@ -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 */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.291 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site