diff options
Diffstat (limited to 'src/io/serversocket.nim')
-rw-r--r-- | src/io/serversocket.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/io/serversocket.nim b/src/io/serversocket.nim index c83af974..e8bbf549 100644 --- a/src/io/serversocket.nim +++ b/src/io/serversocket.nim @@ -1,8 +1,9 @@ import std/nativesockets import std/net import std/os + when defined(posix): - import posix + import std/posix type ServerSocket* = object sock*: Socket |