# HG changeset patch # User reimar # Date 1265137063 0 # Node ID cfdb2299d77b239dbec14573f80f04c3db360b6c # Parent f60a1db3aee432561c9c3384aba3606d01b0423d Revert r30324 which broken the struct addrinfo check by making it always pass. Instead fix the MinGW64 issue properly by including ws2tcpip.h. diff -r f60a1db3aee4 -r cfdb2299d77b configure --- a/configure Mon Feb 01 22:22:32 2010 +0000 +++ b/configure Tue Feb 02 18:57:43 2010 +0000 @@ -3152,12 +3152,13 @@ cat > $TMPC << EOF #if HAVE_WINSOCK2_H #include +#include #else #include #include #include #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