summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-08-30 16:28:34 +0200
committerAraq <rumpf_a@web.de>2014-08-30 16:28:34 +0200
commitfb688d13605c51f35450f920420d67e884499f39 (patch)
treed5f752c3c01d88eb771a3e4dabcf078d4b000fdb
parentc6034277fcb597da03d064b773ad4f6823823fa0 (diff)
downloadNim-fb688d13605c51f35450f920420d67e884499f39.tar.gz
fixed posix.nim
-rw-r--r--lib/posix/posix.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim
index 71a75471e..fb617f3c5 100644
--- a/lib/posix/posix.nim
+++ b/lib/posix/posix.nim
@@ -2382,7 +2382,8 @@ proc hstrerror*(herrnum: cint): cstring {.importc, header: "<netdb.h>".}
 proc FD_CLR*(a1: cint, a2: var FdSet) {.importc, header: "<sys/select.h>".}
 proc FD_ISSET*(a1: cint | SocketHandle, a2: var FdSet): cint {.
   importc, header: "<sys/select.h>".}
-proc fdSet*(a1: cint | SocketHandle, a2: var FdSet) {.importc, header: "<sys/select.h>".}
+proc fdSet*(a1: cint | SocketHandle, a2: var FdSet) {.
+  importc: "FD_SET", header: "<sys/select.h>".}
 proc FD_ZERO*(a1: var FdSet) {.importc, header: "<sys/select.h>".}
 
 proc pselect*(a1: cint, a2, a3, a4: ptr FdSet, a5: ptr Ttimespec,