summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-20 23:33:54 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-28 01:36:53 +0200
commit13e6876463078ee0597b3677a26ccaa2a5ff8b35 (patch)
treececef3e8567cfb625334f522e155f2b71141e36b
parentCommon: Fix FileUtil includes, and everything relying on those. (diff)
downloadyuzu-13e6876463078ee0597b3677a26ccaa2a5ff8b35.tar
yuzu-13e6876463078ee0597b3677a26ccaa2a5ff8b35.tar.gz
yuzu-13e6876463078ee0597b3677a26ccaa2a5ff8b35.tar.bz2
yuzu-13e6876463078ee0597b3677a26ccaa2a5ff8b35.tar.lz
yuzu-13e6876463078ee0597b3677a26ccaa2a5ff8b35.tar.xz
yuzu-13e6876463078ee0597b3677a26ccaa2a5ff8b35.tar.zst
yuzu-13e6876463078ee0597b3677a26ccaa2a5ff8b35.zip
-rw-r--r--src/common/string_util.cpp9
-rw-r--r--src/common/string_util.h3
2 files changed, 9 insertions, 3 deletions
diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp
index 7dc0ba7ba..2e80809ab 100644
--- a/src/common/string_util.cpp
+++ b/src/common/string_util.cpp
@@ -2,9 +2,13 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
-#include <boost/range/algorithm.hpp>
+#include <cctype>
+#include <cerrno>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
+#include <boost/range/algorithm/transform.hpp>
-#include "common/common_funcs.h"
#include "common/common_paths.h"
#include "common/logging/log.h"
#include "common/string_util.h"
@@ -12,6 +16,7 @@
#ifdef _MSC_VER
#include <Windows.h>
#include <codecvt>
+ #include "common/common_funcs.h"
#else
#include <iconv.h>
#endif
diff --git a/src/common/string_util.h b/src/common/string_util.h
index fdc410499..c5c474c6f 100644
--- a/src/common/string_util.h
+++ b/src/common/string_util.h
@@ -5,9 +5,10 @@
#pragma once
#include <cstdarg>
+#include <cstddef>
#include <iomanip>
-#include <string>
#include <sstream>
+#include <string>
#include <vector>
#include "common/common_types.h"