mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-02 22:20:46 +00:00
Only check for socklen_t if network support is enabled.
Originally committed as revision 14498 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
3
configure
vendored
3
configure
vendored
@@ -1754,12 +1754,11 @@ fi
|
||||
|
||||
texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
|
||||
|
||||
check_type sys/socket.h socklen_t
|
||||
|
||||
##########################################
|
||||
# Network check
|
||||
|
||||
if enabled network; then
|
||||
check_type sys/socket.h socklen_t
|
||||
# Prefer arpa/inet.h over winsock2
|
||||
if check_header arpa/inet.h ; then
|
||||
check_func closesocket
|
||||
|
||||
Reference in New Issue
Block a user