Commit 96000432 authored by Reimar Döffinger's avatar Reimar Döffinger

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
parent 9377b6ce
......@@ -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
......
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