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