]> git.sesse.net Git - vlc/commitdiff
vlc_network.h: Prefer to use #ifdef instead of #if for HAVE_ macro.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 2 Feb 2008 18:37:01 +0000 (18:37 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 2 Feb 2008 18:37:01 +0000 (18:37 +0000)
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>