diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-04-02 08:48:03 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-04-02 08:48:03 +0000 |
commit | be37a55086d3fcb0e999d4048fca171316e01c35 (patch) | |
tree | 85550f1b670a088aaedd6a4a463096969832f8c1 | |
parent | 72c79be10e56764fe57300814537cd474f50e43d (diff) | |
download | cygnal-be37a55086d3fcb0e999d4048fca171316e01c35.tar.gz cygnal-be37a55086d3fcb0e999d4048fca171316e01c35.tar.bz2 cygnal-be37a55086d3fcb0e999d4048fca171316e01c35.zip |
* include/netdb.h: #include <inttypes.h>, <netinet/in.h>,
and <sys/socket.h> per SUSv3.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/include/netdb.h | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index aca51ddb0..f91fe4d7c 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2009-04-02 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> + + * include/netdb.h: #include <inttypes.h>, <netinet/in.h>, + and <sys/socket.h> per SUSv3. + 2009-04-01 Corinna Vinschen <corinna@vinschen.de> * strfuncs.cc (sys_cp_mbstowcs): Check if ASCII SO is followed by at diff --git a/winsup/cygwin/include/netdb.h b/winsup/cygwin/include/netdb.h index ffa2f8792..1a6d241f6 100644 --- a/winsup/cygwin/include/netdb.h +++ b/winsup/cygwin/include/netdb.h @@ -63,8 +63,11 @@ extern "C" { #endif -#include <stdint.h> -#include <cygwin/socket.h> +#include <inttypes.h> +#include <sys/socket.h> +#ifndef __INSIDE_CYGWIN_NET__ +#include <netinet/in.h> +#endif /* * Structures returned by network data base library. All addresses are |