diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-11-08 00:25:53 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-11-08 00:25:53 -0800 |
commit | 579517faadd5ac5b169200c6a08916927d544328 (patch) | |
tree | cc7a232e27cbc21a1f6ac8617f65ce4965d95ca2 /tests | |
parent | ce00a1033a84b72b12f0526cd87dad91747ee8e2 (diff) |
OK, include winsock2.h, but before windows.h.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/findalldevstest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/findalldevstest.c b/tests/findalldevstest.c index 61d503de..623f9a0a 100644 --- a/tests/findalldevstest.c +++ b/tests/findalldevstest.c @@ -6,8 +6,9 @@ #include <string.h> #include <sys/types.h> #ifdef _WIN32 - #include <windows.h> + #include <winsock2.h> #include <ws2ipdef.h> + #include <windows.h> #else #include <sys/socket.h> #include <netinet/in.h> |