Cygwin: bindresvport: Guard prototypes with __MISC_VISIBLE

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2018-02-05 21:06:29 +01:00
parent e9ff2d6978
commit b08e6690a6
1 changed files with 2 additions and 0 deletions

View File

@ -16,8 +16,10 @@ extern "C"
{ {
#endif #endif
#if __MISC_VISIBLE
extern int bindresvport (int, struct sockaddr_in *); extern int bindresvport (int, struct sockaddr_in *);
extern int bindresvport_sa (int, struct sockaddr *); extern int bindresvport_sa (int, struct sockaddr *);
#endif
#ifdef __cplusplus #ifdef __cplusplus
}; };