summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2011-09-05 20:24:51 +1000
committerSimon Marlow <marlowsd@gmail.com>2011-09-06 14:05:37 +0100
commitfedb6a991c5acfa6988ee5e28db15f1d259b78da (patch)
tree4e660e83fbae6dad4c3bf78a96e4f6e6702a8a57 /compiler
parent559f375f05d45d813f8c4ef8d4a6cba5150226be (diff)
downloadhaskell-fedb6a991c5acfa6988ee5e28db15f1d259b78da.tar.gz
Add missing import (fixes #5460).
Diffstat (limited to 'compiler')
-rw-r--r--compiler/nativeGen/X86/Regs.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nativeGen/X86/Regs.hs b/compiler/nativeGen/X86/Regs.hs
index 2a1c6fa5ab..280db842d4 100644
--- a/compiler/nativeGen/X86/Regs.hs
+++ b/compiler/nativeGen/X86/Regs.hs
@@ -63,7 +63,7 @@ import FastTypes
import FastBool
-#if defined(i386_TARGET_ARCH) || defined(x86_64_TARGET_ARCH)
+#if defined(i386_TARGET_ARCH) || defined(x86_64_TARGET_ARCH) || defined(powerpc_TARGET_ARCH)
import Constants
#endif