diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-09-11 10:44:25 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-09-11 10:47:02 +0300 |
commit | 317442525586ba9ff8b9af6c506b48f87cd8cd87 (patch) | |
tree | 7ed8b31e8c7d6a92949616f022dab9f3d52b67fb /src | |
parent | 5c0f46ca46e23a161649b5150baa01020dc85e48 (diff) |
Cleanup headers after #20788
Diffstat (limited to 'src')
-rw-r--r-- | src/netbase.cpp | 2 | ||||
-rw-r--r-- | src/util/sock.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/netbase.cpp b/src/netbase.cpp index 2980bdf459..64d17189a6 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -23,8 +23,6 @@ #ifndef WIN32 #include <fcntl.h> -#else -#include <codecvt> #endif #ifdef USE_POLL diff --git a/src/util/sock.cpp b/src/util/sock.cpp index b6c2a47434..1a4d67a65e 100644 --- a/src/util/sock.cpp +++ b/src/util/sock.cpp @@ -10,12 +10,14 @@ #include <util/system.h> #include <util/time.h> -#include <codecvt> -#include <cwchar> -#include <locale> #include <stdexcept> #include <string> +#ifdef WIN32 +#include <codecvt> +#include <locale> +#endif + #ifdef USE_POLL #include <poll.h> #endif |