diff options
Diffstat (limited to 'src/Localize.hsc')
-rw-r--r-- | src/Localize.hsc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Localize.hsc b/src/Localize.hsc index 28f4495..b3f7d53 100644 --- a/src/Localize.hsc +++ b/src/Localize.hsc @@ -19,7 +19,11 @@ module Localize ) where import Foreign.C +#if ! MIN_VERSION_time(1,5,0) import qualified System.Locale as L +#else +import qualified Data.Time.Format as L +#endif #ifdef UTF8 import Codec.Binary.UTF8.String |