]> git.sesse.net Git - ffmpeg/commitdiff
Also include sys/types.h when testing for socklen_t, since unfortunately
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Fri, 12 Dec 2008 22:43:25 +0000 (22:43 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Fri, 12 Dec 2008 22:43:25 +0000 (22:43 +0000)
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

configure

index 0c949c4f356375444ded3650c60130bfbd2664c3..d4242afcaac5279d60659c1489dce370a7fc6c27 100755 (executable)
--- 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