From deccf064840d9719bc5b022fe7ffaf9b9c2147da Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 23 Feb 2017 02:59:15 +0100 Subject: guard new syscalls preadv/pwritev --- libc/sysdeps/linux/common/preadv.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/sysdeps/linux/common/preadv.c') diff --git a/libc/sysdeps/linux/common/preadv.c b/libc/sysdeps/linux/common/preadv.c index 20adc6d6d..b90291b5a 100644 --- a/libc/sysdeps/linux/common/preadv.c +++ b/libc/sysdeps/linux/common/preadv.c @@ -19,8 +19,10 @@ #include #include +#ifdef __NR_preadv ssize_t preadv (int fd, const struct iovec *vector, int count, off_t offset) { return INLINE_SYSCALL (preadv, 4, fd, vector, count, offset); } +#endif -- cgit v1.2.3