From: Christopher Curtis <ccurtis@ee.fit.edu>
To: axp-list@redhat.com
Subject: More headers need patching ...
Date: Thu, 12 Mar 1998 17:04:29 -0500 (EST) [thread overview]
Message-ID: <Pine.GSO.3.96.980312170019.17262B-100000@yacht.ee.fit.edu> (raw)
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/
reply other threads:[~1998-03-12 22:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox