summaryrefslogtreecommitdiffstats
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-08-18 02:32:04 +0200
committerbunnei <bunneidev@gmail.com>2014-08-18 02:32:04 +0200
commitb26f25356d4463b5e4ccd36cf7365342d7306e7f (patch)
tree1cbe356089890c22e3f1e4084891f306d6e62d97 /src/common/string_util.cpp
parentMerge pull request #53 from lioncash/memmap (diff)
parentCommon: Move remaining C header includes over to their C++ equivalent (diff)
downloadyuzu-b26f25356d4463b5e4ccd36cf7365342d7306e7f.tar
yuzu-b26f25356d4463b5e4ccd36cf7365342d7306e7f.tar.gz
yuzu-b26f25356d4463b5e4ccd36cf7365342d7306e7f.tar.bz2
yuzu-b26f25356d4463b5e4ccd36cf7365342d7306e7f.tar.lz
yuzu-b26f25356d4463b5e4ccd36cf7365342d7306e7f.tar.xz
yuzu-b26f25356d4463b5e4ccd36cf7365342d7306e7f.tar.zst
yuzu-b26f25356d4463b5e4ccd36cf7365342d7306e7f.zip
Diffstat (limited to 'src/common/string_util.cpp')
-rw-r--r--src/common/string_util.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp
index e5a9ba322..c1f22bda3 100644
--- a/src/common/string_util.cpp
+++ b/src/common/string_util.cpp
@@ -2,9 +2,9 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
-#include <stdlib.h>
-#include <stdio.h>
#include <algorithm>
+#include <cstdlib>
+#include <cstdio>
#include "common/common.h"
#include "common/common_paths.h"
@@ -13,8 +13,8 @@
#ifdef _WIN32
#include <Windows.h>
#else
+ #include <cerrno>
#include <iconv.h>
- #include <errno.h>
#endif
/// Make a string lowercase