[vlc-devel] [PATCH] configure: include sys/socket.h when checking HAVE_INET_PTON
Rafaël Carré
funman at videolan.org
Tue Apr 2 11:42:01 CEST 2013
Applied, thanks.
Le 02/04/2013 05:47, KO Myung-Hun a écrit :
> 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)]];
>
More information about the vlc-devel
mailing list