From 3f8afe0cb05b73fdeda89e0bb672a6296f5449a5 Mon Sep 17 00:00:00 2001 From: corinna Date: Sun, 10 Jul 2011 13:22:48 +0000 Subject: [PATCH] * include/netdb.h (gethostbyname2): Declare. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/include/netdb.h | 1 + 2 files changed, 5 insertions(+) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 76a6022d0b..a971b0ff3d 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2011-07-10 Corinna Vinschen + + * include/netdb.h (gethostbyname2): Declare. + 2011-07-09 Eric Blake * signal.cc (handle_sigprocmask): Return error rather than setting diff --git a/winsup/cygwin/include/netdb.h b/winsup/cygwin/include/netdb.h index 1a6d241f69..69ef72765c 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 *); -- 2.11.0