mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
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
This commit is contained in:
parent
9377b6ce19
commit
960004329b
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user