aboutsummaryrefslogtreecommitdiffhomepage
path: root/System
diff options
context:
space:
mode:
authorGravatar Herbert Valerio Riedel <hvr@gnu.org>2015-11-16 19:37:56 +0100
committerGravatar Herbert Valerio Riedel <hvr@gnu.org>2015-11-16 19:42:14 +0100
commit03632e32eb1d2e8f5d41ddc0f81bc6eff6a343c9 (patch)
tree1ad1d60b164da7c9aa9c1076f43185be1e5dbb78 /System
parent33920fe3e0477cef1beda59d0ea47f4344be8d26 (diff)
Kill `-fwarn-unused-imports`-induced silliness
This all started in e968172cb0c9f4fc653c775faf3ecb661f5b1948 which tried to get rid of redundant import warnings. But we should rather err on having to tolerate a few warnings on exotic configurations rather than breaking a build... This hopefully fixes #36
Diffstat (limited to 'System')
-rw-r--r--System/Posix/Files/Common.hsc7
1 files changed, 0 insertions, 7 deletions
diff --git a/System/Posix/Files/Common.hsc b/System/Posix/Files/Common.hsc
index 586b417..963008f 100644
--- a/System/Posix/Files/Common.hsc
+++ b/System/Posix/Files/Common.hsc
@@ -83,15 +83,8 @@ module System.Posix.Files.Common (
import System.Posix.Types
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_ATIMESPEC) || \
- defined(HAVE_STRUCT_STAT_ST_MTIMESPEC) || \
- defined(HAVE_STRUCT_STAT_ST_CTIMESPEC)
import Data.Int
import Data.Ratio
-#endif
import Data.Time.Clock.POSIX (POSIXTime)
import System.Posix.Internals
import Foreign.C