diff options
| author | 2016-04-30 16:34:51 +0100 | |
|---|---|---|
| committer | 2016-04-30 17:02:41 +0100 | |
| commit | 691a42fe98954c247a8b7e9305a3e9ca5c04d40c (patch) | |
| tree | 52b6a286b6609675cbc69c63b3aa9f695ea95f0f /src/common/common_funcs.h | |
| parent | LCD: Remove unneeded #undef with no matching #define. (diff) | |
| download | yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.tar.gz yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.tar.xz yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.zip | |
VideoCore: Run include-what-you-use and fix most includes.
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])) |