Revert "Fix windows validate."
authorTamar Christina <tamar@zhox.com>
Wed, 30 Nov 2016 19:51:43 +0000 (19:51 +0000)
committerTamar Christina <tamar@zhox.com>
Wed, 30 Nov 2016 19:51:43 +0000 (19:51 +0000)
This reverts commit ef37580d16a23d1601795548b13b88b9f5373010.

Now that commit e2330b6dde805a5507898c3c4ddf38599df969da has been reverted
this change is now needed.

compiler/main/DynFlags.hs

index f56ec63..30bfa5e 100644 (file)
@@ -220,6 +220,7 @@ import System.Console.Terminfo (SetupTermError, Terminal, getCapability,
                                 setupTermFromEnv, termColors)
 import System.Posix (queryTerminal, stdError)
 #elif defined mingw32_HOST_OS
                                 setupTermFromEnv, termColors)
 import System.Posix (queryTerminal, stdError)
 #elif defined mingw32_HOST_OS
+import Foreign (Ptr, with, peek)
 import System.Environment (lookupEnv)
 import qualified Graphics.Win32 as Win32
 #endif
 import System.Environment (lookupEnv)
 import qualified Graphics.Win32 as Win32
 #endif