diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-01-20 17:24:23 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-01-20 17:24:23 +0000 |
commit | 3b2372bff1237529ec03698f53d2ba06ae8ea00a (patch) | |
tree | 85cf9b55ed00ad4d52a043234b03205ecc4e72e7 | |
parent | 38d7ad19548a3af8c329e5f5d11c970efb20bc5e (diff) | |
download | ffmpeg-3b2372bff1237529ec03698f53d2ba06ae8ea00a.tar.gz |
Add a check for struct sockaddr->sa_len, which is an indication of whether
the system wants a length entry in all socket structures or not. Patch by
Martin Storsjö <$firstname $firstname st>.
Originally committed as revision 21351 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1032,6 +1032,7 @@ HAVE_LIST=" soundcard_h poll_h struct_addrinfo + struct_sockaddr_sa_len struct_sockaddr_storage sys_mman_h sys_resource_h @@ -2505,6 +2506,7 @@ if enabled network; then check_type "sys/types.h sys/socket.h" socklen_t check_type netdb.h "struct addrinfo" check_type "sys/types.h sys/socket.h" "struct sockaddr_storage" + check_struct "sys/types.h sys/socket.h" "struct sockaddr" sa_len # Prefer arpa/inet.h over winsock2 if check_header arpa/inet.h ; then check_func closesocket @@ -2516,6 +2518,7 @@ if enabled network; then check_type ws2tcpip.h socklen_t check_type ws2tcpip.h "struct addrinfo" check_type ws2tcpip.h "struct sockaddr_storage" + check_struct winsock2.h "struct sockaddr" sa_len else disable network fi |