]> git.sesse.net Git - vlc/commitdiff
BeOS fix
authorEric Petit <titer@videolan.org>
Sun, 12 Feb 2006 16:36:41 +0000 (16:36 +0000)
committerEric Petit <titer@videolan.org>
Sun, 12 Feb 2006 16:36:41 +0000 (16:36 +0000)
src/network/udp.c

index c5741d15dfb1bf9ea8633d37a627a207fc2ebe33..7bfaef07b3f2bfc61471d887f5e8b57a5584f501 100644 (file)
@@ -47,7 +47,9 @@
 #   define if_nametoindex( str ) atoi( str )
 #else
 #   include <unistd.h>
-#   include <net/if.h>
+#   ifdef HAVE_NET_IF_H
+#       include <net/if.h>
+#   endif
 #endif
 
 #ifndef SOL_IP