diff -r 5dc02b23752f -r 3e2da88830cd config.tests/unix/getaddrinfo/getaddrinfotest.cpp --- a/config.tests/unix/getaddrinfo/getaddrinfotest.cpp Tue Jul 06 15:10:48 2010 +0300 +++ b/config.tests/unix/getaddrinfo/getaddrinfotest.cpp Wed Aug 18 10:37:55 2010 +0300 @@ -42,9 +42,16 @@ /* Sample program for configure to test for getaddrinfo on the unix platform. we check for all structures and functions required. */ +#include +#include +#ifdef __MINGW32__ +#include +#include +#else #include #include #include +#endif int main() {