Commit 668b65bd authored by Diego Biurrun's avatar Diego Biurrun

Only check for socklen_t if network support is enabled.

Originally committed as revision 14498 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2e11268e
......@@ -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
......
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