aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Files/Common.hsc
diff options
context:
space:
mode:
Diffstat (limited to 'System/Posix/Files/Common.hsc')
-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