[vlc-devel] [PATCH] configure: include sys/socket.h when checking HAVE_INET_PTON

KO Myung-Hun komh78 at gmail.com
Tue Apr 2 05:47:46 CEST 2013


AF_INET is defined in sys/socket.h
---
 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6b44139..b04cbf0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -595,6 +595,7 @@ AC_LINK_IFELSE([
     AC_LANG_PROGRAM([#ifdef WIN32
         #include <ws2tcpip.h>
         #else
+        #include <sys/socket.h>
         #include <arpa/inet.h>
         #endif], [
         char dst[[sizeof(struct in_addr)]];
-- 
1.7.3.2




More information about the vlc-devel mailing list