Cygwin: bindresvport: Guard prototypes with __MISC_VISIBLE
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
e9ff2d6978
commit
b08e6690a6
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue