From: Corinna Vinschen Date: Mon, 5 Feb 2018 20:06:29 +0000 (+0100) Subject: Cygwin: bindresvport: Guard prototypes with __MISC_VISIBLE X-Git-Tag: newlib-snapshot-20180226~52 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=b08e6690a676b9b58abbb676c9e9233f6f2f5c54;p=newlib-cygwin.git Cygwin: bindresvport: Guard prototypes with __MISC_VISIBLE Signed-off-by: Corinna Vinschen --- diff --git a/winsup/cygwin/include/netinet/in.h b/winsup/cygwin/include/netinet/in.h index da0265bee..862e45623 100644 --- a/winsup/cygwin/include/netinet/in.h +++ b/winsup/cygwin/include/netinet/in.h @@ -16,8 +16,10 @@ extern "C" { #endif +#if __MISC_VISIBLE extern int bindresvport (int, struct sockaddr_in *); extern int bindresvport_sa (int, struct sockaddr *); +#endif #ifdef __cplusplus };