diff options
author | bunnei <bunneidev@gmail.com> | 2016-05-01 17:44:57 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-05-01 17:44:57 -0400 |
commit | 15d0e982678d6151bb058fbb8ea0f39b7ffa688a (patch) | |
tree | 716ea2ff8d136622183261274564eeb03aed5c5f /src/common/common_funcs.h | |
parent | 17ecf0d1a2e508cfccfab093a4481dc81d228776 (diff) | |
parent | 691a42fe98954c247a8b7e9305a3e9ca5c04d40c (diff) |
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 @@ #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])) |