Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

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

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

commit aa93a51a827004a9b74bc51d9d0f46d4564a2970
Author: Geoffrey Mainland <[email protected]>
Date:   Wed Apr 25 22:34:26 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/HsBase.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/HsBase.h b/include/HsBase.h
index 70e85db..5c4c141 100644
--- a/include/HsBase.h
+++ b/include/HsBase.h
@@ -81,7 +81,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
 #if HAVE_WINDOWS_H



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

Reply via email to