summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/netdb.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-07-10 13:22:48 +0000
committerCorinna Vinschen <corinna@vinschen.de>2011-07-10 13:22:48 +0000
commit071bf811289ff4c73dbbce14ca9ccc90a4e0c658 (patch)
treec8beac5d5d5d00049f93699a95ce867d5dd9ee42 /winsup/cygwin/include/netdb.h
parent14295a59d3e9b6a20d4cef1aeaa19f31f84ec30b (diff)
downloadcygnal-071bf811289ff4c73dbbce14ca9ccc90a4e0c658.tar.gz
cygnal-071bf811289ff4c73dbbce14ca9ccc90a4e0c658.tar.bz2
cygnal-071bf811289ff4c73dbbce14ca9ccc90a4e0c658.zip
* include/netdb.h (gethostbyname2): Declare.
Diffstat (limited to 'winsup/cygwin/include/netdb.h')
-rw-r--r--winsup/cygwin/include/netdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/include/netdb.h b/winsup/cygwin/include/netdb.h
index 1a6d241f6..69ef72765 100644
--- a/winsup/cygwin/include/netdb.h
+++ b/winsup/cygwin/include/netdb.h
@@ -188,6 +188,7 @@ void endservent (void);
void endrpcent (void);
struct hostent *gethostbyaddr (const char *, int, int);
struct hostent *gethostbyname (const char *);
+struct hostent *gethostbyname2 (const char *, int);
struct hostent *gethostent (void);
struct netent *getnetbyaddr (long, int); /* u_long? */
struct netent *getnetbyname (const char *);