summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat/Compat/Directory.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/Compat/Directory.hs b/compat/Compat/Directory.hs
index fcbe6db188..c44b50fd74 100644
--- a/compat/Compat/Directory.hs
+++ b/compat/Compat/Directory.hs
@@ -36,7 +36,7 @@ import GHC.IOBase ( IOException(..), IOErrorType(..) )
import System.IO ( try )
#endif
#if __GLASGOW_HASKELL__ && defined(mingw32_HOST_OS)
-import Foreign.Ptr
+import Foreign
import Foreign.C
#endif
import System.Directory(doesFileExist, doesDirectoryExist, getPermissions, setPermissions, createDirectory)