[commit: testsuite] master: Don't include malloc.h in linker_unload test. (0e2cf68)

git at git.haskell.org git at git.haskell.org
Mon Oct 28 21:33:43 UTC 2013


Repository : ssh://git@git.haskell.org/testsuite

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/0e2cf68870d3485e8d16bab7fb852d4f75c72796/testsuite

>---------------------------------------------------------------

commit 0e2cf68870d3485e8d16bab7fb852d4f75c72796
Author: Austin Seipp <austin at well-typed.com>
Date:   Mon Oct 28 16:33:12 2013 -0500

    Don't include malloc.h in linker_unload test.
    
    It's not standard and fails to build on Darwin due to this.
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


>---------------------------------------------------------------

0e2cf68870d3485e8d16bab7fb852d4f75c72796
 tests/rts/linker_unload.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/rts/linker_unload.c b/tests/rts/linker_unload.c
index e9a9bbc..9850318 100644
--- a/tests/rts/linker_unload.c
+++ b/tests/rts/linker_unload.c
@@ -1,6 +1,5 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include <malloc.h>
 #include "Rts.h"
 
 #define ITERATIONS 10000



More information about the ghc-commits mailing list