summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-19 15:59:04 +0000
committerMåns Rullgård <mans@mansr.com>2010-01-19 15:59:04 +0000
commitff6e82a968c02d01ff9c5fb891b56af12a0f650c (patch)
treed2870db05bca2897af7d99f15c4f210b9892b644
parent48fc536aba6ac6b78ec547574a6526e3e501d10c (diff)
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. Originally committed as revision 21326 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f28120e939..efd16bbe03 100755
--- a/configure
+++ b/configure
@@ -2499,7 +2499,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"
+ check_type "sys/types.h sys/socket.h" "struct sockaddr_storage"
# Prefer arpa/inet.h over winsock2
if check_header arpa/inet.h ; then
check_func closesocket