[vlc-devel] [PATCH 3/3] Changed check for arpa/inet.h.

Natalie Landsberg natalie.landsberg97 at gmail.com
Fri Jul 27 14:35:35 CEST 2018


---
 modules/access/amt.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/access/amt.c b/modules/access/amt.c
index 712b8d31da..ce472bedb8 100644
--- a/modules/access/amt.c
+++ b/modules/access/amt.c
@@ -31,9 +31,7 @@
 
 #include <errno.h>
 #include <ctype.h>
-#ifdef _WIN32
-# include <winsock2.h>
-#else
+#if HAVE_ARPA_INET_H
 # include <arpa/inet.h>
 #endif
 #include <sys/select.h>
-- 
2.17.1



More information about the vlc-devel mailing list