mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-04 11:09:09 +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:
parent
2e11268ea9
commit
668b65bd83
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user