summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorStefan Rakel <ibutra@users.noreply.github.com>2017-10-24 10:51:05 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-10-24 10:51:05 +0200
commitd47fec5bccde33f84a8c5e31d70dcaae184191a5 (patch)
tree80e1220949f90f3946596da9ed7e53bf81531000 /lib
parent61a50d9c8c46d80fe947a5f86fb30ee8ca922976 (diff)
downloadNim-d47fec5bccde33f84a8c5e31d70dcaae184191a5.tar.gz
Fix #6553 (#6580)
Diffstat (limited to 'lib')
-rw-r--r--lib/posix/linux.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/posix/linux.nim b/lib/posix/linux.nim
index 01d5e57de..8786ab535 100644
--- a/lib/posix/linux.nim
+++ b/lib/posix/linux.nim
@@ -26,3 +26,5 @@ const
 proc clone*(fn: pointer; child_stack: pointer; flags: cint;
             arg: pointer; ptid: ptr Pid; tls: pointer;
             ctid: ptr Pid): cint {.importc, header: "<sched.h>".}
+
+proc pipe2*(a: array[0..1, cint], flags: cint): cint {.importc, header: "<unistd.h>".}
\ No newline at end of file