From fc4b1388b3a3e872d796f3e99ba129c55706f9d6 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 6 Apr 2011 12:36:33 +0200 Subject: tee,vmsplice: mark them as GNU extensions Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/vmsplice.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/common/vmsplice.c') diff --git a/libc/sysdeps/linux/common/vmsplice.c b/libc/sysdeps/linux/common/vmsplice.c index dd0640e1e..b0d71935c 100644 --- a/libc/sysdeps/linux/common/vmsplice.c +++ b/libc/sysdeps/linux/common/vmsplice.c @@ -8,9 +8,10 @@ */ #include -#include -#ifdef __NR_vmsplice +#if defined __NR_vmsplice && defined __USE_GNU +# include + _syscall4(ssize_t, vmsplice, int, __fdout, const struct iovec *, __iov, - size_t, __count, unsigned int, __flags) + size_t, __count, unsigned int, __flags) #endif -- cgit v1.2.3