From b08e6690a676b9b58abbb676c9e9233f6f2f5c54 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 5 Feb 2018 21:06:29 +0100 Subject: [PATCH] Cygwin: bindresvport: Guard prototypes with __MISC_VISIBLE Signed-off-by: Corinna Vinschen --- winsup/cygwin/include/netinet/in.h | 2 ++ 1 file changed, 2 insertions(+) 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 };