]> git.sesse.net Git - vlc/blobdiff - include/vlc_network.h
use empty .gitignore files to track empty folders
[vlc] / include / vlc_network.h
index 4fd7d5316e72bffe115729e1f2b2ececb3cd0a0f..82ae3840241fae72e3ece40c4f41043ce93a455d 100644 (file)
@@ -46,10 +46,10 @@ extern const char *net_strerror( int val );
 #   endif
 #else
 #   include <sys/socket.h>
-#   if HAVE_NETINET_IN_H
+#   ifdef HAVE_NETINET_IN_H
 #      include <netinet/in.h>
 #   endif
-#   if HAVE_ARPA_INET_H
+#   ifdef HAVE_ARPA_INET_H
 #      include <arpa/inet.h>
 #   elif defined( SYS_BEOS )
 #      include <net/netdb.h>