Commit c18d10a7 authored by mru's avatar mru

configure: inlcude sys/types.h when checking sys/socket.h

Silly BSD systems need this despite POSIX requiring nothing of the
kind.  Any system with sys/socket.h should also have sys/types.h,
so this is unlikely to break anything, and we already do this in
another place.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21326 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4bb3c49d
...@@ -2499,7 +2499,7 @@ texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html ...@@ -2499,7 +2499,7 @@ texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
if enabled network; then if enabled network; then
check_type "sys/types.h sys/socket.h" socklen_t check_type "sys/types.h sys/socket.h" socklen_t
check_type netdb.h "struct addrinfo" check_type netdb.h "struct addrinfo"
check_type sys/socket.h "struct sockaddr_storage" check_type "sys/types.h sys/socket.h" "struct sockaddr_storage"
# Prefer arpa/inet.h over winsock2 # Prefer arpa/inet.h over winsock2
if check_header arpa/inet.h ; then if check_header arpa/inet.h ; then
check_func closesocket check_func closesocket
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment