summaryrefslogtreecommitdiff
blob: cdf0fbe547d60634de90d821a3832197c7cb2dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff --git a/c2hs.cabal b/c2hs.cabal
index 89f978f..53a96e5 100644
--- a/c2hs.cabal
+++ b/c2hs.cabal
@@ -41,7 +41,7 @@ flag base3
 
 Executable c2hs
     Build-Depends:  base >= 2 && < 5,
-                    language-c >= 0.3.1.1 && < 0.4.0,
+                    language-c >= 0.3.1.1 && < 0.5,
                     filepath
 
     if flag(base3)
diff --git a/src/C2HS/Gen/Bind.hs b/src/C2HS/Gen/Bind.hs
index 1fd2acc..9c25b42 100644
--- a/src/C2HS/Gen/Bind.hs
+++ b/src/C2HS/Gen/Bind.hs
@@ -117,6 +117,7 @@ import Control.Monad (when, unless, liftM, mapAndUnzipM)
 import Language.C.Data.Position
 import Language.C.Data.Ident
 import Language.C.Pretty
+import Language.C.Syntax.AST
 import Text.PrettyPrint.HughesPJ (render)
 import Data.Errors
 import Data.Attributes (newAttrsOnlyPos)