summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/process.cpp2
-rw-r--r--src/utils/stringutils.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/utils/process.cpp b/src/utils/process.cpp
index 37670b18b..1859b1c2f 100644
--- a/src/utils/process.cpp
+++ b/src/utils/process.cpp
@@ -34,6 +34,7 @@ const int timeOut = 10;
#ifdef WIN32
+#include "utils/stringutils.h"
#include <windows.h>
int execFileWait(const std::string &pathName, const std::string &name A_UNUSED,
@@ -236,6 +237,7 @@ bool openBrowser(std::string url)
nullptr, nullptr, SW_SHOWNORMAL)) > 32;
}
#elif defined ANDROID
+#include "utils/stringutils.h"
#include <SDL_screenkeyboard.h>
bool openBrowser(std::string url)
{
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index c5ac71d28..680d8e44d 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -26,9 +26,9 @@
#include <algorithm>
#include <cstdarg>
#include <cstdio>
-#include <list>
-
#include <ctype.h>
+#include <list>
+#include <time.h>
#include "debug.h"