aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix
diff options
context:
space:
mode:
authorGravatar Reid Barton <rwbarton@gmail.com>2013-09-29 19:23:41 -0400
committerGravatar Austin Seipp <austin@well-typed.com>2013-10-09 03:12:12 -0500
commitc96a9d4966ac1a8949c35c051db8ce9ce0b57d65 (patch)
tree9f1dcc729c534d4d484ecd2a3d88000e42646be3 /System/Posix
parent996bd23fe75ec7be9533a040abf3d5e6035e8e0c (diff)
Unconditionalize imports in System.Posix.User
Their use site is now unconditional. Issue #8223. Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'System/Posix')
-rw-r--r--System/Posix/User.hsc2
1 files changed, 0 insertions, 2 deletions
diff --git a/System/Posix/User.hsc b/System/Posix/User.hsc
index 36b0662..30c5c71 100644
--- a/System/Posix/User.hsc
+++ b/System/Posix/User.hsc
@@ -62,10 +62,8 @@ import Control.Concurrent.MVar ( MVar, newMVar, withMVar )
#ifdef HAVE_GETPWENT
import Control.Exception
#endif
-#if defined(HAVE_GETGRNAM_R) || defined(HAVE_GETPWNAM_R)
import Control.Monad
import System.IO.Error
-#endif
-- -----------------------------------------------------------------------------
-- user environemnt