aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/netdb.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 76a6022..a971b0f 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-10 Corinna Vinschen <corinna@vinschen.de>
+
+ * include/netdb.h (gethostbyname2): Declare.
+
2011-07-09 Eric Blake <eblake@redhat.com>
* signal.cc (handle_sigprocmask): Return error rather than setting
diff --git a/winsup/cygwin/include/netdb.h b/winsup/cygwin/include/netdb.h
index 1a6d241..69ef727 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 *);