summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-12-12 22:43:25 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-12-12 22:43:25 +0000
commit960004329b3556c63ffb399a8abe9c68d55a636d (patch)
tree3f2195cfe8d0de94bc0290c71949e20590ae3483 /configure
parent9377b6ce1961836d91da423d23969d4ae19d8c38 (diff)
Also include sys/types.h when testing for socklen_t, since unfortunately
OpenBSD 4.4 defines it there (and sys/socket.h does not compile without it). Originally committed as revision 16084 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 0c949c4f35..d4242afcaa 100755
--- a/configure
+++ b/configure
@@ -1960,7 +1960,7 @@ texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
# Network check
if enabled network; then
- check_type sys/socket.h socklen_t
+ check_type "sys/types.h sys/socket.h" socklen_t
# Prefer arpa/inet.h over winsock2
if check_header arpa/inet.h ; then
check_func closesocket