diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-05 12:03:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 12:03:05 +0200 |
commit | b1c6826b9f84ad564c41a6d1b1e76b09354b8945 (patch) | |
tree | b6cfb04ebd6631e3735b15dee2b130b637676fbd /drivers/unix | |
parent | c773c709c0b69336d5ae922cd7215f3ea1414be9 (diff) | |
parent | 425ed0ffe0880f2c63344c0861ddf37b346b9738 (diff) |
Merge pull request #52963 from Pineapple/WIN32_LEAN_AND_MEAN_master
Diffstat (limited to 'drivers/unix')
-rw-r--r-- | drivers/unix/ip_unix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/unix/ip_unix.cpp b/drivers/unix/ip_unix.cpp index 8a880ab9c8..d32592e81a 100644 --- a/drivers/unix/ip_unix.cpp +++ b/drivers/unix/ip_unix.cpp @@ -36,9 +36,9 @@ #ifdef WINDOWS_ENABLED #include <stdio.h> -#include <winsock2.h> -// Needs to be included after winsocks2.h +#define WIN32_LEAN_AND_MEAN #include <windows.h> +#include <winsock2.h> #include <ws2tcpip.h> #ifndef UWP_ENABLED #include <iphlpapi.h> |