summaryrefslogtreecommitdiff
path: root/compiler/nativeGen
diff options
context:
space:
mode:
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>2008-04-23 04:28:20 +0000
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>2008-04-23 04:28:20 +0000
commit78bbce57e04a29541b7343f0b188a20cef956187 (patch)
tree59f5b6fa01942bd2e45f1df909a4b194e83b6fb7 /compiler/nativeGen
parentba09ea0db4572548cb763f8518e78c23d32dc712 (diff)
downloadhaskell-78bbce57e04a29541b7343f0b188a20cef956187.tar.gz
Include HsVersions.h where necessary
Diffstat (limited to 'compiler/nativeGen')
-rw-r--r--compiler/nativeGen/PositionIndependentCode.hs2
-rw-r--r--compiler/nativeGen/PprMach.hs2
2 files changed, 4 insertions, 0 deletions
diff --git a/compiler/nativeGen/PositionIndependentCode.hs b/compiler/nativeGen/PositionIndependentCode.hs
index 3f32c38e52..0473d91da2 100644
--- a/compiler/nativeGen/PositionIndependentCode.hs
+++ b/compiler/nativeGen/PositionIndependentCode.hs
@@ -14,6 +14,8 @@ module PositionIndependentCode (
initializePicBase
) where
+#include "HsVersions.h"
+
{-
This module handles generation of position independent code and
dynamic-linking related issues for the native code generator.
diff --git a/compiler/nativeGen/PprMach.hs b/compiler/nativeGen/PprMach.hs
index 64fa024f37..a9621d4abc 100644
--- a/compiler/nativeGen/PprMach.hs
+++ b/compiler/nativeGen/PprMach.hs
@@ -24,6 +24,8 @@ module PprMach (
pprInstr, pprSize, pprUserReg
) where
+#include "HsVersions.h"
+
import Cmm
import MachOp ( MachRep(..), wordRep, isFloatingRep )
import MachRegs -- may differ per-platform