Originally committed as revision 21148 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö authored on 2010/01/12 02:42:15... | ... |
@@ -990,6 +990,7 @@ HAVE_LIST=" |
990 | 990 |
soundcard_h |
991 | 991 |
poll_h |
992 | 992 |
struct_addrinfo |
993 |
+ struct_sockaddr_storage |
|
993 | 994 |
sys_mman_h |
994 | 995 |
sys_resource_h |
995 | 996 |
sys_select_h |
... | ... |
@@ -2451,6 +2452,7 @@ texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html |
2451 | 2451 |
if enabled network; then |
2452 | 2452 |
check_type "sys/types.h sys/socket.h" socklen_t |
2453 | 2453 |
check_type netdb.h "struct addrinfo" |
2454 |
+ check_type sys/socket.h "struct sockaddr_storage" |
|
2454 | 2455 |
# Prefer arpa/inet.h over winsock2 |
2455 | 2456 |
if check_header arpa/inet.h ; then |
2456 | 2457 |
check_func closesocket |
... | ... |
@@ -2461,6 +2463,7 @@ if enabled network; then |
2461 | 2461 |
network_extralibs="-lws2_32"; } |
2462 | 2462 |
check_type ws2tcpip.h socklen_t |
2463 | 2463 |
check_type ws2tcpip.h "struct addrinfo" |
2464 |
+ check_type ws2tcpip.h "struct sockaddr_storage" |
|
2464 | 2465 |
else |
2465 | 2466 |
disable network |
2466 | 2467 |
fi |