diff options
author | Ben Gamari <ben@well-typed.com> | 2020-10-14 13:23:32 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-12-03 22:16:06 -0500 |
commit | 794616b6c4ab6537304777cfb5616cd5fc031a2f (patch) | |
tree | 93162c87282a7b54abccf632ba9f34b7a15a4b0e | |
parent | 007055cc5856caeac957489bd4ce061cf4b43459 (diff) | |
download | haskell-794616b6c4ab6537304777cfb5616cd5fc031a2f.tar.gz |
testsuite: Add missing #include on <stdlib.h>
This otherwise fails on newer Clangs, which warn
more aggressively on undeclared symbols.
(cherry picked from commit 3d7db1488c4bd7764e8b1fe3cfde4c5a548cde16)
-rw-r--r-- | testsuite/tests/concurrent/should_run/conc059_c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/concurrent/should_run/conc059_c.c b/testsuite/tests/concurrent/should_run/conc059_c.c index 19493aee3f..f03615063f 100644 --- a/testsuite/tests/concurrent/should_run/conc059_c.c +++ b/testsuite/tests/concurrent/should_run/conc059_c.c @@ -1,6 +1,7 @@ #include "HsFFI.h" #include "conc059_stub.h" #include <unistd.h> +#include <stdlib.h> #include <stdio.h> #if mingw32_HOST_OS #include <windows.h> |