4 Dec
2018
4 Dec
'18
12:09 p.m.
On NetBSD, time.h includes sys/time.h that includes sys/select.h. It must be included before winsock2.h that redefines fd_set. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46230 Signed-off-by: Frédéric Fauberteau <triaxx(a)NetBSD.org> --- dlls/wininet/http.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 4122067e41..131d3ac612 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -35,12 +35,13 @@ # include <zlib.h> #endif +#include <time.h> + #include "winsock2.h" #include "ws2ipdef.h" #include <stdarg.h> #include <stdio.h> -#include <time.h> #include <assert.h> #include "windef.h" -- 2.19.2