From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32715 invoked from network); 12 Mar 1998 22:05:16 -0000 Received: from winnie.fit.edu (163.118.5.1) by mail2.redhat.com with SMTP; 12 Mar 1998 22:05:16 -0000 Received: from ee.fit.edu (yacht.ee.fit.edu [163.118.30.1]) by winnie.fit.edu (8.8.7/8.8.7) with SMTP id RAA25008 for ; Thu, 12 Mar 1998 17:01:46 -0500 (EST) Received: from localhost by ee.fit.edu (SMI-8.6/SMI-SVR4) id RAA17981; Thu, 12 Mar 1998 17:04:29 -0500 Date: Thu, 12 Mar 1998 17:04:29 -0500 (EST) From: Christopher Curtis To: axp-list@redhat.com Subject: More headers need patching ... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII There is a conflict between /usr/include/linux/socket.h and /usr/include/netinet.h in that both of them #define values for TCP_NODELAY and TCP_MAXSEG. They define them to be the same thing so there's not much to worry about, but you may get warnings if you try to include both files. I've created a small patch - basically all I did was edit linux/socket.h (because it has the strangest comment) from: #define TCP_NODELAY 1 #define TCP_MAXSEG 2 to: #ifndef TCP_NODELAY #define TCP_NODELAY 1 #define TCP_MAXSEG 2 #endif Just in case anyone wanted to integrate this into a newer kernel or newer set of alpha patches ... I don't normally go around hacking kernel headers, so I don't know the 'proper' channels for this sort of thing, so if anyone else wants to forward them on, please feel free... These are taken from a pristine 2.0.33+Alpha-Patches-2.0.32-1 regards, -- Christopher Curtis - http://www.ee.fit.edu/users/ccurtis Florida Institute of Technology - System Administrator, Programmer Melbourne, Florida USA - http://www.lp.org/