Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Network/Socket/Fcntl.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE CPP #-}

module Network.Socket.Fcntl where
Expand Down Expand Up @@ -27,7 +28,7 @@ setCloseOnExecIfNeeded fd = System.Posix.Internals.setCloseOnExec fd
#endif

#if !defined(mingw32_HOST_OS)
foreign import ccall unsafe "fcntl"
foreign import capi unsafe "fcntl.h fcntl"
c_fcntl_read :: CInt -> CInt -> CInt -> IO CInt
#endif

Expand Down