diff --git a/cmstestsuite/code/oom-heap.c b/cmstestsuite/code/oom-heap.c index fd3cbb2fa5..3300d17175 100644 --- a/cmstestsuite/code/oom-heap.c +++ b/cmstestsuite/code/oom-heap.c @@ -1,7 +1,9 @@ #include +#include + +int *big; int main() { - int *big; int i; big = malloc(128 * 1024 * 1024); // If we don't do this cycle, the compiler is smart enough not to