summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gf.cabal2
-rw-r--r--src/runtime/haskell-bind/PGF2/Expr.hsc1
2 files changed, 2 insertions, 1 deletions
diff --git a/gf.cabal b/gf.cabal
index ac0a3a617..9b427afa6 100644
--- a/gf.cabal
+++ b/gf.cabal
@@ -133,7 +133,7 @@ Library
if flag(c-runtime)
exposed-modules: PGF2
- other-modules: PGF2.FFI
+ other-modules: PGF2.FFI PGF2.Expr
GF.Interactive2 GF.Command.Commands2
hs-source-dirs: src/runtime/haskell-bind
build-tools: hsc2hs
diff --git a/src/runtime/haskell-bind/PGF2/Expr.hsc b/src/runtime/haskell-bind/PGF2/Expr.hsc
index 6dc7dd161..93df74ff7 100644
--- a/src/runtime/haskell-bind/PGF2/Expr.hsc
+++ b/src/runtime/haskell-bind/PGF2/Expr.hsc
@@ -3,6 +3,7 @@
module PGF2.Expr where
+import System.IO.Unsafe(unsafePerformIO)
import Foreign
import Foreign.C
import qualified Text.PrettyPrint as PP