summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2020-10-14 13:23:32 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-10-15 04:31:42 -0400
commit3d7db1488c4bd7764e8b1fe3cfde4c5a548cde16 (patch)
tree214dbcbab0ac3d3df83b260cd6ab577ab5aa0dfb
parent809f09e8a7060691b1f2f5d6b95ca75e66437e55 (diff)
downloadhaskell-3d7db1488c4bd7764e8b1fe3cfde4c5a548cde16.tar.gz
testsuite: Add missing #include on <stdlib.h>
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>