Commit 5ca73d35 authored by reimar's avatar reimar

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).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16084 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5fbde18a
......@@ -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
......
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