mirror of https://github.com/mpv-player/mpv
On OpenBSD socklen_t is defined at sys/types.h, so latter is added
to the header search path. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27953 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
de51092d28
commit
8af43b7cc2
|
@ -2894,7 +2894,7 @@ fi
|
||||||
|
|
||||||
echocheck "socklen_t"
|
echocheck "socklen_t"
|
||||||
_socklen_t=no
|
_socklen_t=no
|
||||||
for header in "sys/socket.h" "ws2tcpip.h" ; do
|
for header in "sys/socket.h" "ws2tcpip.h" "sys/types.h" ; do
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
#include <$header>
|
#include <$header>
|
||||||
int main(void) { socklen_t v = 0; return v; }
|
int main(void) { socklen_t v = 0; return v; }
|
||||||
|
|
Loading…
Reference in New Issue