[vlc-commits] access: vcd: arpa/inet.h include is needed for ntohl.

Konstantin Pavlov git at videolan.org
Wed Oct 5 14:29:37 CEST 2016


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Tue Oct  4 13:55:23 2016 +0000| [6b36ad07deabd01d16e545c916acea2c44db014a] | committer: Konstantin Pavlov

access: vcd: arpa/inet.h include is needed for ntohl.

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

 modules/access/vcd/cdrom.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/access/vcd/cdrom.c b/modules/access/vcd/cdrom.c
index 67fff4b..ed63d4f 100644
--- a/modules/access/vcd/cdrom.c
+++ b/modules/access/vcd/cdrom.c
@@ -47,6 +47,9 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <limits.h>
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
 
 #include <vlc_common.h>
 #include <vlc_access.h>



More information about the vlc-commits mailing list