This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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/>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]