From a83ea57a508362f8f66ecd89131302fba1223637 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 11 Oct 2012 11:20:42 +0100 Subject: sendfile: Use sendfile64 if arch does not have the sendfile syscall Signed-off-by: Markos Chandras Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/sendfile64.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/sysdeps/linux/common/sendfile64.c') diff --git a/libc/sysdeps/linux/common/sendfile64.c b/libc/sysdeps/linux/common/sendfile64.c index 705e6fdee..1c01ace7f 100644 --- a/libc/sysdeps/linux/common/sendfile64.c +++ b/libc/sysdeps/linux/common/sendfile64.c @@ -17,4 +17,5 @@ #if defined __NR_sendfile64 && __WORDSIZE != 64 # include _syscall4(ssize_t,sendfile64, int, out_fd, int, in_fd, __off64_t *, offset, size_t, count) +libc_hidden_def(sendfile64) #endif -- cgit v1.2.3