[commit: base] master: Another build ordering fix (91c2811)
Ian Lynagh
igloo at earth.li
Wed May 22 02:26:51 CEST 2013
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : master
https://github.com/ghc/packages-base/commit/91c28117bc1d66fe45170daf4d55bf42438c156d
>---------------------------------------------------------------
commit 91c28117bc1d66fe45170daf4d55bf42438c156d
Author: Ian Lynagh <ian at well-typed.com>
Date: Mon May 20 23:08:05 2013 +0100
Another build ordering fix
>---------------------------------------------------------------
GHC/IO/Encoding/Iconv.hs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/GHC/IO/Encoding/Iconv.hs b/GHC/IO/Encoding/Iconv.hs
index 81bfc62..54f2a2d 100644
--- a/GHC/IO/Encoding/Iconv.hs
+++ b/GHC/IO/Encoding/Iconv.hs
@@ -30,7 +30,9 @@ module GHC.IO.Encoding.Iconv (
#include "MachDeps.h"
#include "HsBaseConfig.h"
-#if !defined(mingw32_HOST_OS)
+#if defined(mingw32_HOST_OS)
+import GHC.Base () -- For build ordering
+#else
import Foreign.Safe
import Foreign.C
More information about the ghc-commits
mailing list