diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-02 18:57:43 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-02 18:57:43 +0000 |
commit | b336a261bffb8ad1bc88cf428dbb02534a4acfd7 (patch) | |
tree | e8710a9d2a5089fd7e231862cf82cfc8efceb8f8 /configure | |
parent | 22087004b8419250da240093e411356830a1f0db (diff) | |
download | mpv-b336a261bffb8ad1bc88cf428dbb02534a4acfd7.tar.bz2 mpv-b336a261bffb8ad1bc88cf428dbb02534a4acfd7.tar.xz |
Revert r30324 which broken the struct addrinfo check by making it always pass.
Instead fix the MinGW64 issue properly by including ws2tcpip.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30486 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3152,12 +3152,13 @@ if test "$_struct_addrinfo" = auto; then cat > $TMPC << EOF #if HAVE_WINSOCK2_H #include <winsock2.h> +#include <ws2tcpip.h> #else #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #endif -int main(void) { struct addrinfo *ai; return 0; } +int main(void) { struct addrinfo ai; return 0; } EOF cc_check $cc_check_winsock2_h && _struct_addrinfo=yes fi |