summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-11-06 18:42:03 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-11-07 21:25:36 -0500
commit870376f900f5024c782a0cb1f324462a985f017a (patch)
tree0df025e50ab638c3ce80232c960a5282e0fd33aa /libraries
parent0d141d28cf6632d1bd0ca1aaf0f302121a3fa3a2 (diff)
downloadhaskell-870376f900f5024c782a0cb1f324462a985f017a.tar.gz
base: Add missing imports in Windows locking implementation
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/GHC/IO/Handle/Lock/Windows.hsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/base/GHC/IO/Handle/Lock/Windows.hsc b/libraries/base/GHC/IO/Handle/Lock/Windows.hsc
index 45c060f901..1118e523ec 100644
--- a/libraries/base/GHC/IO/Handle/Lock/Windows.hsc
+++ b/libraries/base/GHC/IO/Handle/Lock/Windows.hsc
@@ -29,8 +29,11 @@ import Foreign.C.Error
import Foreign.C.Types
import Foreign.Marshal.Alloc
import Foreign.Marshal.Utils
+import GHC.Base
import GHC.IO.FD
import GHC.IO.Handle.FD
+import GHC.IO.Handle.Types (Handle)
+import GHC.IO.Handle.Lock.Common (LockMode(..))
import GHC.Ptr
import GHC.Windows