vcd: arpa/inet.h is required for ntohl() on FreeBSD
authorDerk-Jan Hartman <hartman@videolan.org>
Tue, 30 Jun 2009 00:09:55 +0000 (02:09 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Tue, 30 Jun 2009 00:11:17 +0000 (02:11 +0200)
modules/access/vcd/cdrom.c

index a8d0f4d..ab00b34 100644 (file)
@@ -48,6 +48,9 @@
 #ifdef HAVE_FCNTL_H
 #   include <fcntl.h>
 #endif
+#ifdef HAVE_ARPA_INET_H
+#   include <arpa/inet.h>
+#endif
 
 #if defined( SYS_BSDI )
 #   include <dvd.h>