+import GHC.Base ( Int )
+import GHC.Int ( Int8, Int16, Int32, Int64 )
+#endif
+
+#ifdef __HUGS__
+import Hugs.Int ( Int8, Int16, Int32, Int64 )
+#endif
+
+#ifdef __NHC__
+import Prelude
+import Prelude (Int)
+import NHC.FFI (Int8, Int16, Int32, Int64)
+import NHC.SizedTypes (Int8, Int16, Int32, Int64) -- instances of Bits