[commit: packages/time] format-widths, ghc, master, posix-perf, tasty: fix import with POSIX time (572a72e)

git at git.haskell.org git at git.haskell.org
Fri Apr 21 16:55:18 UTC 2017


Repository : ssh://git@git.haskell.org/time

On branches: format-widths,ghc,master,posix-perf,tasty
Link       : http://git.haskell.org/packages/time.git/commitdiff/572a72ec09d33ae93ccbec86a34e6c0c2193e3d4

>---------------------------------------------------------------

commit 572a72ec09d33ae93ccbec86a34e6c0c2193e3d4
Author: winterland1989 <winterland1989 at gmail.com>
Date:   Tue Nov 29 02:20:38 2016 +0800

    fix import with POSIX time


>---------------------------------------------------------------

572a72ec09d33ae93ccbec86a34e6c0c2193e3d4
 lib/Data/Time/Clock/POSIX.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/Data/Time/Clock/POSIX.hs b/lib/Data/Time/Clock/POSIX.hs
index 1aa1901..ca8f364 100644
--- a/lib/Data/Time/Clock/POSIX.hs
+++ b/lib/Data/Time/Clock/POSIX.hs
@@ -22,6 +22,7 @@ import Data.Time.Clock.CTimespec
 import Foreign.C.Types (CTime(..), CLong(..))
 #else
 import Data.Time.Clock.CTimeval
+import Foreign.C.Types (CLong(..))
 #endif
 
 -- | 86400 nominal seconds in every day



More information about the ghc-commits mailing list