Repository : ssh://darcs.haskell.org//srv/darcs/packages/old-time

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/bb01a551a349b9a85dda8ac59b800bd951958e3b

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

commit bb01a551a349b9a85dda8ac59b800bd951958e3b
Author: Geoffrey Mainland <[email protected]>
Date:   Wed Apr 25 22:38:35 2012 +0100

    Don't include sys/timeb.h on FreeBSD.
    
    sys/timeb.h is deprecated on FreeBSD meaning validation fails quite early
    without this patch.

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

 include/HsTime.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/HsTime.h b/include/HsTime.h
index 544cd02..638ad6c 100644
--- a/include/HsTime.h
+++ b/include/HsTime.h
@@ -27,7 +27,7 @@
 #if HAVE_TIME_H
 #include <time.h>
 #endif
-#if HAVE_SYS_TIMEB_H
+#if HAVE_SYS_TIMEB_H && !defined(__FreeBSD__)
 #include <sys/timeb.h>
 #endif
 



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to