correct docs for exitWith: only stdout/stderr are flushed, not all Handles
[ghc-base.git] / NHC / PosixTypes.hsc
index b5ad5c6..64c3e28 100644 (file)
@@ -51,7 +51,9 @@ import Control.Monad
 -- Curious hack to ensure that the CTypes macros are expanded *after* hsc2hs.
 ##include "CTypes.h"
 -- C header files that contain all the types we are looking for here.
+#if __APPLE__
 #include <libc.h>
+#endif
 #include <stdlib.h>
 #include <unistd.h>
 #include <sys/resource.h>