aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash <mathew1800@gmail.com>2014-08-17 13:54:06 -0400
committerGravatar Lioncash <mathew1800@gmail.com>2014-08-17 13:54:06 -0400
commitda6f24b37470064f10e68186965949d728fecb3c (patch)
tree61126f8f211a345e9ef568f7de584223f17467a9 /src/common/string_util.cpp
parent90e994471a385d2b965e3843e1f693ccba6fb699 (diff)
Common: Move remaining C header includes over to their C++ equivalent
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 e5a9ba32..c1f22bda 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