From fdb4306d5c137ddefd3438cc76cfeb7490e75407 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Mon, 5 Jan 2009 10:20:20 +0000 Subject: [PATCH] Fix build when we have HTYPE_TCFLAG_T --- System/Posix/Internals.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/System/Posix/Internals.hs b/System/Posix/Internals.hs index 64e4f20..c4d9b19 100644 --- a/System/Posix/Internals.hs +++ b/System/Posix/Internals.hs @@ -35,7 +35,10 @@ import Foreign.C import Data.Bits import Data.Maybe + +#if !defined(HTYPE_TCFLAG_T) import System.IO.Error +#endif #if __GLASGOW_HASKELL__ import GHC.Base -- 1.7.10.4