> SUSv3&4 state:
> > Inclusion of the <netdb.h> header may also make visible all symbols
> > from <netinet/in.h>, <sys/socket.h>, and <inttypes.h>.
> Having come across packages that assume this (at least in part), I would
> like to make ours compatible.
> <inttypes.h> must #include <stdint.h> per SUSv3, so that should be a
> safe switch. <cygwin/in.h> already has a #include <cygwin/socket.h>,
> but I don't know if you want to assume that or not.
> Patch attached.
Applied with a tweak. The inclusion of netinet/in.h clashes with the
inclusion of winsock2.h in case of a couple of datatype. So this
header must not be included when building Cygwin itself.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com