[vlc-devel] commit: vcd: arpa/inet.h is required for ntohl() on FreeBSD ( Derk-Jan Hartman )
git version control
git at videolan.org
Tue Jun 30 02:11:19 CEST 2009
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Tue Jun 30 02:09:55 2009 +0200| [38b6dd5117615f1fb764d6ec52669ccf1c3645fd] | committer: Derk-Jan Hartman
vcd: arpa/inet.h is required for ntohl() on FreeBSD
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=38b6dd5117615f1fb764d6ec52669ccf1c3645fd
---
modules/access/vcd/cdrom.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/access/vcd/cdrom.c b/modules/access/vcd/cdrom.c
index a8d0f4d..ab00b34 100644
--- a/modules/access/vcd/cdrom.c
+++ b/modules/access/vcd/cdrom.c
@@ -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>
More information about the vlc-devel
mailing list