mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-15 03:20:00 +01: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:
2
configure
vendored
2
configure
vendored
@@ -1960,7 +1960,7 @@ texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
|
|||||||
# Network check
|
# Network check
|
||||||
|
|
||||||
if enabled network; then
|
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
|
# Prefer arpa/inet.h over winsock2
|
||||||
if check_header arpa/inet.h ; then
|
if check_header arpa/inet.h ; then
|
||||||
check_func closesocket
|
check_func closesocket
|
||||||
|
|||||||
Reference in New Issue
Block a user