diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2018-02-05 21:06:29 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2018-02-05 21:06:29 +0100 |
commit | b08e6690a676b9b58abbb676c9e9233f6f2f5c54 (patch) | |
tree | 03fdb4451ecf628915f2594aaf4d2a75643479fe | |
parent | e9ff2d697871eb78f7a4bc246868c855c052a859 (diff) | |
download | cygnal-b08e6690a676b9b58abbb676c9e9233f6f2f5c54.tar.gz cygnal-b08e6690a676b9b58abbb676c9e9233f6f2f5c54.tar.bz2 cygnal-b08e6690a676b9b58abbb676c9e9233f6f2f5c54.zip |
Cygwin: bindresvport: Guard prototypes with __MISC_VISIBLE
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/include/netinet/in.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 }; |