We need to import 'cast' on Windows
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Sat, 14 Mar 2015 08:16:44 +0000 (09:16 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sat, 14 Mar 2015 08:16:49 +0000 (09:16 +0100)
This fixes breakage introduced via
47b5b5c2b2c92ba091313c36489588edadceaa9d

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Reviewed By: hvr

Differential Revision: https://phabricator.haskell.org/D732

libraries/base/GHC/Conc/Sync.hs

index 1295982..48a3b2a 100644 (file)
@@ -99,6 +99,8 @@ import Foreign.C
 
 #ifndef mingw32_HOST_OS
 import Data.Dynamic
+#else
+import Data.Typeable
 #endif
 import Data.Maybe