From 071bf811289ff4c73dbbce14ca9ccc90a4e0c658 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 10 Jul 2011 13:22:48 +0000 Subject: * include/netdb.h (gethostbyname2): Declare. --- winsup/cygwin/include/netdb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/include/netdb.h') 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 *); -- cgit v1.2.3