aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Files
diff options
context:
space:
mode:
authorGravatar Bryan O'Sullivan <bos@serpentine.com>2013-10-12 17:02:23 -0700
committerGravatar Bryan O'Sullivan <bos@serpentine.com>2013-10-12 17:02:23 -0700
commit76584fa84022251bd91a80a4df282e3726d66687 (patch)
tree27b5de5626789338293ec867a63fe31304c956ed /System/Posix/Files
parentd0defcf5c23e46f2a793db0988edfb4bd25ff48d (diff)
Fix build on OS X
Diffstat (limited to 'System/Posix/Files')
-rw-r--r--System/Posix/Files/Common.hsc5
1 files changed, 4 insertions, 1 deletions
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