diff options
Diffstat (limited to 'src/unistd/pipe.c')
-rw-r--r-- | src/unistd/pipe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unistd/pipe.c b/src/unistd/pipe.c index 36c6f13e..d07b8d24 100644 --- a/src/unistd/pipe.c +++ b/src/unistd/pipe.c @@ -3,5 +3,9 @@ int pipe(int fd[2]) { +#ifdef SYS_pipe return syscall(SYS_pipe, fd); +#else + return syscall(SYS_pipe2, fd, 0); +#endif } |