diff options
| author | 2016-05-01 17:44:57 -0400 | |
|---|---|---|
| committer | 2016-05-01 17:44:57 -0400 | |
| commit | 15d0e982678d6151bb058fbb8ea0f39b7ffa688a (patch) | |
| tree | 716ea2ff8d136622183261274564eeb03aed5c5f /src/common/common_funcs.h | |
| parent | Merge pull request #1745 from JayFoxRox/fix-const_color (diff) | |
| parent | VideoCore: Run include-what-you-use and fix most includes. (diff) | |
| download | yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.tar.gz yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.tar.xz yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.zip | |
Merge pull request #1741 from linkmauve/iwyu-video_core
Fix video_core includes (and dependencies) using include-what-you-use
Diffstat (limited to 'src/common/common_funcs.h')
| -rw-r--r-- | src/common/common_funcs.h | 4 |
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 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #if !defined(ARCHITECTURE_x86_64) && !defined(_M_ARM) | ||
| 8 | #include <cstdlib> // for exit | ||
| 9 | #endif | ||
| 10 | |||
| 7 | #include "common_types.h" | 11 | #include "common_types.h" |
| 8 | 12 | ||
| 9 | #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) | 13 | #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) |