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