[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:12:04 CEST 2009


vlc | branch: 1.0-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Tue Jun 30 02:09:55 2009 +0200| [1a3e18bd9fd9c8a7403d410c0f6f576cfec5ed9a] | committer: Derk-Jan Hartman 

vcd: arpa/inet.h is required for ntohl() on FreeBSD
(cherry picked from commit 38b6dd5117615f1fb764d6ec52669ccf1c3645fd)

Signed-off-by: Derk-Jan Hartman <hartman at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1a3e18bd9fd9c8a7403d410c0f6f576cfec5ed9a
---

 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