diff --git a/configure b/configure index 15a5745ddf..17f3264dd0 100755 --- a/configure +++ b/configure @@ -3152,12 +3152,13 @@ if test "$_struct_addrinfo" = auto; then 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