summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/copynpaste.cpp1
-rw-r--r--src/utils/cpu.cpp1
-rw-r--r--src/utils/sdl2helper.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/copynpaste.cpp b/src/utils/copynpaste.cpp
index 58c191a3d..3896c2b6b 100644
--- a/src/utils/copynpaste.cpp
+++ b/src/utils/copynpaste.cpp
@@ -63,6 +63,7 @@ PRAGMA48(GCC diagnostic pop)
#elif defined __native_client__
#include "utils/naclmessages.h"
#elif defined WIN32
+#include "utils/cast.h"
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL_syswm.h>
diff --git a/src/utils/cpu.cpp b/src/utils/cpu.cpp
index 0df53f06f..61bb39539 100644
--- a/src/utils/cpu.cpp
+++ b/src/utils/cpu.cpp
@@ -26,6 +26,7 @@
&& (GCC_VERSION >= 40800) && !defined(ANDROID)
// nothing
#elif defined(__linux__) || defined(__linux)
+#include "utils/foreach.h"
#include "utils/stringutils.h"
#endif // (defined(__amd64__) || defined(__i386__)) && defined(__GNUC__)
// && (GCC_VERSION >= 40800) && !defined(ANDROID)
diff --git a/src/utils/sdl2helper.cpp b/src/utils/sdl2helper.cpp
index 239f2636b..5d6fdde2b 100644
--- a/src/utils/sdl2helper.cpp
+++ b/src/utils/sdl2helper.cpp
@@ -24,6 +24,7 @@
#include "logger.h"
+#include "utils/foreach.h"
#include "utils/stringutils.h"
PRAGMA48(GCC diagnostic push)