[commit: packages/time] master: use correct time C header (0d51531)

git at git.haskell.org git at git.haskell.org
Sun Dec 20 07:46:07 UTC 2015


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

On branch  : master
Link       : http://git.haskell.org/packages/time.git/commitdiff/0d515313859d601ec4049d971316af1cb944928e

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

commit 0d515313859d601ec4049d971316af1cb944928e
Author: ashley <ashley at semantic.org>
Date:   Tue Apr 12 00:06:58 2005 -0700

    use correct time C header
    
    darcs-hash:20050412070658-ca2d0-13155e99611adfa2e008de3b0461fde925a6b602


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

0d515313859d601ec4049d971316af1cb944928e
 timestuff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timestuff.c b/timestuff.c
index 79139bd..24c6983 100644
--- a/timestuff.c
+++ b/timestuff.c
@@ -1,4 +1,4 @@
-#include <sys/time.h>
+#include <time.h>
 
 long int get_current_timezone_seconds ()
 {



More information about the ghc-commits mailing list