diff options
Diffstat (limited to 'winsup/cygwin/include/netdb.h')
-rw-r--r-- | winsup/cygwin/include/netdb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/include/netdb.h b/winsup/cygwin/include/netdb.h index f59a780f0..e4b85c6a7 100644 --- a/winsup/cygwin/include/netdb.h +++ b/winsup/cygwin/include/netdb.h @@ -117,6 +117,7 @@ struct rpcent { int r_number; /* rpc program number */ }; +#ifndef __INSIDE_CYGWIN_NET__ struct addrinfo { int ai_flags; /* input flags */ int ai_family; /* address family of socket */ @@ -127,6 +128,7 @@ struct addrinfo { struct sockaddr *ai_addr; /* socket address of socket */ struct addrinfo *ai_next; /* pointer to next in list */ }; +#endif /* * Error return codes from gethostbyname() and gethostbyaddr() |