summaryrefslogtreecommitdiff
path: root/src/utils/cpu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-29 22:10:01 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-29 22:20:06 +0300
commit201dc96af656196a24e6ce4bbcc3e22fc960a972 (patch)
treeec36864fbc8630043580c9bf4fe7f8473ccac64f /src/utils/cpu.cpp
parent337a52a41ea44570da65586403f14248042f0169 (diff)
downloadplus-201dc96af656196a24e6ce4bbcc3e22fc960a972.tar.gz
plus-201dc96af656196a24e6ce4bbcc3e22fc960a972.tar.bz2
plus-201dc96af656196a24e6ce4bbcc3e22fc960a972.tar.xz
plus-201dc96af656196a24e6ce4bbcc3e22fc960a972.zip
Fix compilation with old compilers and not for linux.
Diffstat (limited to 'src/utils/cpu.cpp')
-rw-r--r--src/utils/cpu.cpp1
1 files changed, 1 insertions, 0 deletions
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)