Commit 03632e32 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Kill `-fwarn-unused-imports`-induced silliness

This all started in e968172c 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
parent 33920fe3
......@@ -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
......
......@@ -6,6 +6,9 @@
* Don't assume existence of termios constants beyond `B38400`
* Turn build error into compile warnings for exotic `struct stat`
configurations (GHC #8859).
## 2.7.1.0 *Dec 2014*
* Bundled with GHC 7.10.1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment