[vlc-commits] configure: include sys/socket.h when checking HAVE_INET_PTON
KO Myung-Hun
git at videolan.org
Tue Apr 2 11:41:23 CEST 2013
vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Tue Apr 2 12:47:46 2013 +0900| [d26304d2498c106f4ef6bf581419350594824418] | committer: Rafaël Carré
configure: include sys/socket.h when checking HAVE_INET_PTON
AF_INET is defined in sys/socket.h
Signed-off-by: Rafaël Carré <funman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d26304d2498c106f4ef6bf581419350594824418
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
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)]];
More information about the vlc-commits
mailing list