More explicit use of #if HAVE_...header's.
[yaz-moved-to-github.git] / src / ber_int.c
index f0680fb..5524096 100644 (file)
@@ -23,7 +23,8 @@
 
 #ifdef WIN32
 #include <winsock.h>
-#else
+#endif
+#if HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #endif