aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--System/Posix/Files/Common.hsc7
-rw-r--r--changelog.md3
2 files changed, 3 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
diff --git a/changelog.md b/changelog.md
index 0f69383..e5733c2 100644
--- a/changelog.md
+++ b/changelog.md
@@ -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