Re: getaddrinfo tests: fix test failure on MSVC

2019-07-03 Thread Bruno Haible
Hi Gisle, > I found the same problem with test-select-fd.c: > > --- a/tests/test-select-fd.c 2019-01-02 12:05:09 > +++ b/tests/test-select-fd.c 2019-07-03 06:48:11 > @@ -21,6 +21,7 @@ > #include > #include > #include > +#include > > int > main (int argc, char *argv[]) > @@ -44,6 +4

Re: getaddrinfo tests: fix test failure on MSVC

2019-07-03 Thread Gisle Vanem
Bruno Haible wrote: On native Windows with MSVC, I observe this test failure: FAIL: test-getaddrinfo == FAIL test-getaddrinfo.exe (exit status: 4) The cause is a missing call to WSAStartup(). This patch fixes it. I found the same problem with test-select-fd.c: --- a/tes

getaddrinfo tests: fix test failure on MSVC

2019-07-02 Thread Bruno Haible
On native Windows with MSVC, I observe this test failure: FAIL: test-getaddrinfo == FAIL test-getaddrinfo.exe (exit status: 4) The cause is a missing call to WSAStartup(). This patch fixes it. 2019-07-02 Bruno Haible getaddrinfo tests: Fix test failure on MSVC