File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -208,14 +208,12 @@ module Network.Socket
208
208
, socketPortSafe
209
209
, socketPort
210
210
211
- #if !defined(mingw32_HOST_OS)
212
211
-- * UNIX-domain socket
213
212
, isUnixDomainSocketAvailable
214
213
, socketPair
215
214
, sendFd
216
215
, recvFd
217
216
, getPeerCredential
218
- #endif
219
217
220
218
-- * Name information
221
219
, getNameInfo
@@ -278,9 +276,9 @@ import Network.Socket.Shutdown
278
276
import Network.Socket.SockAddr
279
277
import Network.Socket.Syscall hiding (connect , bind , accept )
280
278
import Network.Socket.Types
279
+ import Network.Socket.Unix
281
280
#if !defined(mingw32_HOST_OS)
282
281
import Network.Socket.Posix.Cmsg
283
- import Network.Socket.Unix
284
282
#else
285
283
import Network.Socket.Win32.Cmsg
286
284
#endif
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ import System.Posix.Types (Fd(..))
17
17
18
18
import Network.Socket.Buffer
19
19
import Network.Socket.Imports
20
+ #if !defined(mingw32_HOST_OS)
20
21
import Network.Socket.Posix.Cmsg
22
+ #endif
21
23
import Network.Socket.Types
22
24
23
25
#if defined(HAVE_GETPEEREID)
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ library
84
84
Network.Socket.SockAddr
85
85
Network.Socket.Syscall
86
86
Network.Socket.Types
87
+ Network.Socket.Unix
87
88
88
89
build-depends :
89
90
base >= 4.9 && < 5 ,
@@ -107,7 +108,6 @@ library
107
108
Network.Socket.Posix.CmsgHdr
108
109
Network.Socket.Posix.IOVec
109
110
Network.Socket.Posix.MsgHdr
110
- Network.Socket.Unix
111
111
112
112
if os(solaris)
113
113
extra-libraries : nsl, socket
You can’t perform that action at this time.
0 commit comments