summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/utils/Util.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/utils/Util.hs b/compiler/utils/Util.hs
index d5c6e2a3c2..5c09959f6d 100644
--- a/compiler/utils/Util.hs
+++ b/compiler/utils/Util.hs
@@ -123,7 +123,9 @@ module Util (
hashString,
-- * Call stacks
+#if MIN_VERSION_GLASGOW_HASKELL(7,10,2,0)
GHC.Stack.CallStack,
+#endif
HasCallStack,
HasDebugCallStack,
prettyCurrentCallStack,