diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/socket.h | 2 | ||||
-rw-r--r-- | include/unistd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h index 5d38f1105..6037f92ae 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -227,7 +227,7 @@ extern int accept (int __fd, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len); libc_hidden_proto(accept) -#ifdef __USE_GNU +#if defined __UCLIBC_LINUX_SPECIFIC__ && defined __USE_GNU /* Similar to 'accept' but takes an additional parameter to specify flags. This function is a cancellation point and therefore not marked with 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; |