summaryrefslogtreecommitdiffstats
path: root/src/common/common_funcs.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-05-01 23:44:57 +0200
committerbunnei <bunneidev@gmail.com>2016-05-01 23:44:57 +0200
commit15d0e982678d6151bb058fbb8ea0f39b7ffa688a (patch)
tree716ea2ff8d136622183261274564eeb03aed5c5f /src/common/common_funcs.h
parentMerge pull request #1745 from JayFoxRox/fix-const_color (diff)
parentVideoCore: Run include-what-you-use and fix most includes. (diff)
downloadyuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.tar
yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.tar.gz
yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.tar.bz2
yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.tar.lz
yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.tar.xz
yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.tar.zst
yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.zip
Diffstat (limited to 'src/common/common_funcs.h')
-rw-r--r--src/common/common_funcs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h
index aa6aff7b9..ab3515683 100644
--- a/src/common/common_funcs.h
+++ b/src/common/common_funcs.h
@@ -4,6 +4,10 @@
#pragma once
+#if !defined(ARCHITECTURE_x86_64) && !defined(_M_ARM)
+#include <cstdlib> // for exit
+#endif
+
#include "common_types.h"
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))