[commit: ghc] master: ghc/hschooks.c: Fix include path of Rts.h (1399c8b)

git at git.haskell.org git at git.haskell.org
Tue Nov 22 21:29:22 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/1399c8b481bd04848377b2f8a449e0bb09f0bb65/ghc

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

commit 1399c8b481bd04848377b2f8a449e0bb09f0bb65
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Tue Nov 22 00:43:19 2016 -0500

    ghc/hschooks.c: Fix include path of Rts.h
    
    We need to ensure that we don't include Rts.h from bootstrap compiler.
    See #12796.
    
    Test Plan: Validate
    
    Reviewers: austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2698
    
    GHC Trac Issues: #12796


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

1399c8b481bd04848377b2f8a449e0bb09f0bb65
 ghc/hschooks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ghc/hschooks.c b/ghc/hschooks.c
index 46a0944..3a42801 100644
--- a/ghc/hschooks.c
+++ b/ghc/hschooks.c
@@ -5,7 +5,7 @@ in instead of the defaults.
 */
 
 #include "../rts/PosixSource.h"
-#include "Rts.h"
+#include "../includes/Rts.h"
 
 #include "HsFFI.h"
 



More information about the ghc-commits mailing list