From 03632e32eb1d2e8f5d41ddc0f81bc6eff6a343c9 Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Mon, 16 Nov 2015 19:37:56 +0100 Subject: 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 --- System/Posix/Files/Common.hsc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'System') 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 -- cgit v1.2.3