Messages in this thread Patch in this message | | | Date | Mon, 3 Jul 2000 14:11:29 -0600 | From | Richard Gooch <> | 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/
| |