Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-04-02 12:48:03 +0400
committerCorinna Vinschen <corinna@vinschen.de>2009-04-02 12:48:03 +0400
commitbe37a55086d3fcb0e999d4048fca171316e01c35 (patch)
tree85550f1b670a088aaedd6a4a463096969832f8c1 /winsup/cygwin/include/netdb.h
parent72c79be10e56764fe57300814537cd474f50e43d (diff)
* include/netdb.h: #include <inttypes.h>, <netinet/in.h>,
and <sys/socket.h> per SUSv3.
Diffstat (limited to 'winsup/cygwin/include/netdb.h')
-rw-r--r--winsup/cygwin/include/netdb.h7
1 files changed, 5 insertions, 2 deletions
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