Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* More headers need patching ...
@ 1998-03-12 22:04 Christopher Curtis
  0 siblings, 0 replies; only message in thread
From: Christopher Curtis @ 1998-03-12 22:04 UTC (permalink / raw)
  To: axp-list

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/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-03-12 22:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-12 22:04 More headers need patching Christopher Curtis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox