[Git][ghc/ghc][wip/backports-9.0] testsuite: Add missing #include on <stdlib.h>
Ben Gamari
gitlab at gitlab.haskell.org
Fri Dec 4 03:16:14 UTC 2020
Ben Gamari pushed to branch wip/backports-9.0 at Glasgow Haskell Compiler / GHC
Commits:
794616b6 by Ben Gamari at 2020-12-03T22:16:06-05:00
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)
- - - - -
1 changed file:
- testsuite/tests/concurrent/should_run/conc059_c.c
Changes:
=====================================
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>
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/794616b6c4ab6537304777cfb5616cd5fc031a2f
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/794616b6c4ab6537304777cfb5616cd5fc031a2f
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201203/957b43de/attachment.html>
More information about the ghc-commits
mailing list