Repository : ssh://g...@git.haskell.org/unix

On branch  : master
Link       : 
http://git.haskell.org/packages/unix.git/commitdiff/76584fa84022251bd91a80a4df282e3726d66687

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

commit 76584fa84022251bd91a80a4df282e3726d66687
Author: Bryan O'Sullivan <b...@serpentine.com>
Date:   Sat Oct 12 17:02:23 2013 -0700

    Fix build on OS X


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

76584fa84022251bd91a80a4df282e3726d66687
 System/Posix/Files/Common.hsc |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/System/Posix/Files/Common.hsc b/System/Posix/Files/Common.hsc
index 704332c..3056014 100644
--- a/System/Posix/Files/Common.hsc
+++ b/System/Posix/Files/Common.hsc
@@ -85,7 +85,10 @@ import System.IO.Unsafe
 import Data.Bits
 #if defined(HAVE_STRUCT_STAT_ST_CTIM) || \
     defined(HAVE_STRUCT_STAT_ST_MTIM) || \
-    defined(HAVE_STRUCT_STAT_ST_ATIM)
+    defined(HAVE_STRUCT_STAT_ST_ATIM) || \
+    defined(HAVE_STRUCT_STAT_ST_ATIMESPEC) || \
+    defined(HAVE_STRUCT_STAT_ST_MTIMESPEC) || \
+    defined(HAVE_STRUCT_STAT_ST_CTIMESPEC)
 import Data.Int
 import Data.Ratio
 #endif

_______________________________________________
ghc-commits mailing list
ghc-commits@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-commits

Reply via email to