Re: DOS/Windows-specific code: ser-tcp.c

Russ Allbery
2001-05-08T05:56:00Z

Eli Zaretskii <eliz@is.elta.co.il> writes:

> * ser-tcp.c:

> #ifndef __CYGWIN32__
> #include <netinet/tcp.h>
> #endif

> Is netinet/tcp.h header specific to Cygwin? If so, this could be
> replaced by a HAVE_NETINET_TCP_H macro set by Autoconf.

Solaris at least also has that header file. Whether including it would
cause any problems, I can't say. It appears to define the TCP header
structure and a variety of constants related to the protocol.

--
Russ Allbery (rra@stanford.edu) < http://www.eyrie.org/~eagle/ >