summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/cpu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/cpu.cpp b/src/utils/cpu.cpp
index 047ae97da..5fb0195a6 100644
--- a/src/utils/cpu.cpp
+++ b/src/utils/cpu.cpp
@@ -22,7 +22,9 @@
#include "logger.h"
+#if defined(__linux__) || defined(__linux)
#include "utils/stringutils.h"
+#endif
#include "debug.h"