From 960004329b3556c63ffb399a8abe9c68d55a636d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= <Reimar.Doeffinger@gmx.de> Date: Fri, 12 Dec 2008 22:43:25 +0000 Subject: [PATCH] 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 0c949c4f356..d4242afcaac 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 -- GitLab