summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-12 10:37:36 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-12 10:37:36 +0200
commit44100dac1138c480deabb72ee8e180544005dfd9 (patch)
treedf0fce9e5835ff954e0d3d79d015b0778ce41a51 /include/unistd.h
parent3fb846d24c2b74f6dba36580315e1666eca015ee (diff)
linux_specific: handle accept4 and pipe2
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 6b614dd05..956879003 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -389,7 +389,7 @@ extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n,
extern int pipe (int __pipedes[2]) __THROW __wur;
libc_hidden_proto(pipe)
-#ifdef __USE_GNU
+#if defined __UCLIBC_LINUX_SPECIFIC__ && defined __USE_GNU
/* Same as pipe but apply flags passed in FLAGS to the new file
descriptors. */
extern int pipe2 (int __pipedes[2], int __flags) __THROW __wur;