[Git][ghc/ghc][master] testsuite: Add missing #include on <stdlib.h>

Marge Bot gitlab at gitlab.haskell.org
Thu Oct 15 08:31:50 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
3d7db148 by Ben Gamari at 2020-10-15T04:31:42-04:00
testsuite: Add missing #include on <stdlib.h>

This otherwise fails on newer Clangs, which warn
more aggressively on undeclared symbols.
- - - - -


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/3d7db1488c4bd7764e8b1fe3cfde4c5a548cde16

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3d7db1488c4bd7764e8b1fe3cfde4c5a548cde16
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/20201015/c4848269/attachment.html>


More information about the ghc-commits mailing list