Fix build on 32 bit.
commitb339cf8f733750dcb1fd4baf3fcd192db8697df1
authorpranaysashank <pranaysashank@composewell.com>
dateTue 17 Nov 2020, 13:57 (6 years ago)
parent74c5351
src/Streamly/Internal/Data/Time/TimeSpec.hsc+3
@@ -24,6 +24,9 @@ module Streamly.Internal.Data.Time.TimeSpec
2424where
2525
2626import Data.Int (Int64)
27+#if i386_HOST_ARCH
28+import Data.Int (Int32)
29+#endif
2730import Foreign.Storable (Storable(..), peek)
2831
2932#ifdef HS_CLOCK_GHCJS