#include ../includes/MachRegs.h rather than just MachRegs.h
authorIan Lynagh <igloo@earth.li>
Wed, 5 Dec 2007 17:03:35 +0000 (17:03 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 5 Dec 2007 17:03:35 +0000 (17:03 +0000)
This fixes building on NixOS. I'm not sure why it worked everywhere else,
but not on NixOS, before.

compiler/codeGen/CgUtils.hs
compiler/nativeGen/MachRegs.lhs

index fa5807a..886a36a 100644 (file)
@@ -51,7 +51,7 @@ module CgUtils (
   ) where
 
 #include "HsVersions.h"
-#include "MachRegs.h"
+#include "../includes/MachRegs.h"
 
 import CgMonad
 import TyCon
index beea181..2205ce0 100644 (file)
@@ -90,7 +90,7 @@ module MachRegs (
 -- HACK: go for the max
 #endif
 
-#include "MachRegs.h"
+#include "../includes/MachRegs.h"
 
 import Cmm
 import MachOp          ( MachRep(..) )