summary refs log tree commit diff stats
path: root/lib/posix
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2014-03-09 13:49:38 +0000
committerDominik Picheta <dominikpicheta@googlemail.com>2014-03-09 13:49:38 +0000
commita0975269564f2474953d2b12aaaab4ba71cec664 (patch)
treeaa2e55c68a8a53633ac99d15cd96321b37422ef3 /lib/posix
parent7704cdc90ec187ef22f259f0e0f89ceeb5c13431 (diff)
downloadNim-a0975269564f2474953d2b12aaaab4ba71cec664.tar.gz
Fixes to asyncio2 on Linux.
Diffstat (limited to 'lib/posix')
-rw-r--r--lib/posix/epoll.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/epoll.nim b/lib/posix/epoll.nim
index 366521551..57a2f001f 100644
--- a/lib/posix/epoll.nim
+++ b/lib/posix/epoll.nim
@@ -36,7 +36,7 @@ type
   epoll_data* {.importc: "union epoll_data", 
       header: "<sys/epoll.h>", pure, final.} = object # TODO: This is actually a union.
     #thePtr* {.importc: "ptr".}: pointer
-    fd*: cint # \
+    fd* {.importc: "fd".}: cint # \
     #u32*: uint32
     #u64*: uint64