diff options
author | Martin Storsjö <martin@martin.st> | 2010-01-11 17:42:15 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-01-11 17:42:15 +0000 |
commit | 33a4dbdd03d21b39afa2b9470b2180f733c18f99 (patch) | |
tree | 978634af913412d1afb48d3784ac2a2955a85729 /configure | |
parent | fdcdd5396e2214ecf9fa39cef03f46e5eba7170b (diff) | |
download | ffmpeg-33a4dbdd03d21b39afa2b9470b2180f733c18f99.tar.gz |
Check for struct sockaddr_storage. Patch by Martin Storsjö
<$firstname()$firstname,st>.
Originally committed as revision 21148 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -990,6 +990,7 @@ HAVE_LIST=" soundcard_h poll_h struct_addrinfo + struct_sockaddr_storage sys_mman_h sys_resource_h sys_select_h @@ -2451,6 +2452,7 @@ texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html if enabled network; then check_type "sys/types.h sys/socket.h" socklen_t check_type netdb.h "struct addrinfo" + check_type sys/socket.h "struct sockaddr_storage" # Prefer arpa/inet.h over winsock2 if check_header arpa/inet.h ; then check_func closesocket @@ -2461,6 +2463,7 @@ if enabled network; then network_extralibs="-lws2_32"; } check_type ws2tcpip.h socklen_t check_type ws2tcpip.h "struct addrinfo" + check_type ws2tcpip.h "struct sockaddr_storage" else disable network fi |