From: Ian Lynagh Date: Wed, 5 Dec 2007 17:03:35 +0000 (+0000) Subject: #include ../includes/MachRegs.h rather than just MachRegs.h X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=5d7e13eab7070d6858f6b8ff572baed572967fe2 #include ../includes/MachRegs.h rather than just MachRegs.h This fixes building on NixOS. I'm not sure why it worked everywhere else, but not on NixOS, before. --- diff --git a/compiler/codeGen/CgUtils.hs b/compiler/codeGen/CgUtils.hs index fa5807a..886a36a 100644 --- a/compiler/codeGen/CgUtils.hs +++ b/compiler/codeGen/CgUtils.hs @@ -51,7 +51,7 @@ module CgUtils ( ) where #include "HsVersions.h" -#include "MachRegs.h" +#include "../includes/MachRegs.h" import CgMonad import TyCon diff --git a/compiler/nativeGen/MachRegs.lhs b/compiler/nativeGen/MachRegs.lhs index beea181..2205ce0 100644 --- a/compiler/nativeGen/MachRegs.lhs +++ b/compiler/nativeGen/MachRegs.lhs @@ -90,7 +90,7 @@ module MachRegs ( -- HACK: go for the max #endif -#include "MachRegs.h" +#include "../includes/MachRegs.h" import Cmm import MachOp ( MachRep(..) )