--- a/tools/pas2c/Pas2C.hs	2025-07-07 21:51:17.117166690 +0100
+++ b/tools/pas2c/Pas2C.hs	2025-07-07 21:47:34.842095704 +0100
@@ -6,6 +6,7 @@
 import Data.Maybe
 import Data.Char
 import Text.Parsec.Prim hiding (State)
+import Control.Monad (void, unless, guard, liftM, liftM2)
 import Control.Monad.State
 import System.IO
 import PascalPreprocessor
