]> sourceware.org Git - newlib-cygwin.git/commitdiff
Cygwin: bindresvport: Guard prototypes with __MISC_VISIBLE
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 5 Feb 2018 20:06:29 +0000 (21:06 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 5 Feb 2018 20:06:29 +0000 (21:06 +0100)
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/include/netinet/in.h

index da0265bee384ab133a799b3781887b46a46c8a46..862e4562332e6c167a48cefe81f6def6f1c86829 100644 (file)
@@ -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
 };
This page took 0.035635 seconds and 5 git commands to generate.