summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2020-10-14 13:23:32 -0400
committerBen Gamari <ben@well-typed.com>2020-10-14 13:23:32 -0400
commitc54fff34cd20bb03285999f3ac3d7d878e2df484 (patch)
tree9060d15556bb9db5ef72115054a7fd818e06c7f2
parentbf2411a3c198cb2df93a9e0aa0c3b8297f47058d (diff)
downloadhaskell-wip/fix-conc059.tar.gz
testsuite: Add missing #include on <stdlib.h>wip/fix-conc059
This otherwise fails on newer Clangs, which warn more aggressively on undeclared symbols.
-rw-r--r--testsuite/tests/concurrent/should_run/conc059_c.c1
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>