diff options
| author | Rémi Verschelde | 2017-03-06 09:11:03 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-06 09:11:03 +0100 |
| commit | 15c4d5006ee6982223777ababfbc2c040f3e344f (patch) | |
| tree | 8236299c96a778eee0a9eba46f8da1b666a3920a /drivers/unix/ip_unix.cpp | |
| parent | 4d8840bba7d796b8417a3ebea9153c0aa1c78a58 (diff) | |
| download | godot-15c4d5006ee6982223777ababfbc2c040f3e344f.tar.gz godot-15c4d5006ee6982223777ababfbc2c040f3e344f.tar.zst godot-15c4d5006ee6982223777ababfbc2c040f3e344f.zip | |
Diffstat (limited to 'drivers/unix/ip_unix.cpp')
| -rw-r--r-- | drivers/unix/ip_unix.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/unix/ip_unix.cpp b/drivers/unix/ip_unix.cpp index d9dfd3c73..0a26b5bbb 100644 --- a/drivers/unix/ip_unix.cpp +++ b/drivers/unix/ip_unix.cpp @@ -34,8 +34,9 @@ #ifdef WINDOWS_ENABLED #include <stdio.h> -#include <windows.h> #include <winsock2.h> +// Needs to be included after winsocks2.h +#include <windows.h> #include <ws2tcpip.h> #ifndef UWP_ENABLED #if defined(__MINGW32__) && (!defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 4) |
