@@ -1,4 +1,5 @@
11{-# LANGUAGE PatternGuards #-}
2+{-# LANGUAGE CPP #-}
23module Stackage.Select
34 ( select
45 , defaultSelectSettings
@@ -27,6 +28,11 @@ defaultSelectSettings = SelectSettings
2728 , excludedPackages = empty
2829 , flags = \coreMap ->
2930 Set.fromList (words "blaze_html_0_5") `Set.union`
31+
32+#if defined(mingw32_HOST_OS) || defined(__MINGW32__)
33+ -- Needed on Windows to get unix-compat to compile
34+ Set.fromList (words "old-time") `Set.union`
35+#endif
3036 -- Support for containers-unicode-symbols
3137 (case Map.lookup (PackageName "containers") coreMap of
3238 Just v | Just range <- simpleParse "< 0.5", v `withinRange` range