2 Apr 2009 07:47
[PATCH] <netdb.h> SUSv3 compliance
Yaakov (Cygwin/X <yselkowitz <at> users.sourceforge.net>
2009-04-02 05:47:14 GMT
2009-04-02 05:47:14 GMT
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. Yaakov
RSS Feed