]> git.sesse.net Git - vlc/commitdiff
src/misc/net.c: BeOS fix
authorEric Petit <titer@videolan.org>
Sun, 28 Nov 2004 21:47:40 +0000 (21:47 +0000)
committerEric Petit <titer@videolan.org>
Sun, 28 Nov 2004 21:47:40 +0000 (21:47 +0000)
src/misc/net.c

index 433cc55d068771b0a8016afef920656faec31eed..5a7aaab3ee10bf6d5864031578c01d63786b43f3 100644 (file)
@@ -48,7 +48,9 @@
 #else
 #   include <sys/socket.h>
 #   include <netinet/in.h>
-#   include <arpa/inet.h>
+#   ifdef HAVE_ARPA_INET_H
+#       include <arpa/inet.h>
+#   endif
 #   include <netdb.h>
 #endif