summaryrefslogtreecommitdiff
path: root/include/sys/sendfile.h
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2012-10-11 11:20:42 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-20 13:45:12 +0100
commita83ea57a508362f8f66ecd89131302fba1223637 (patch)
tree18dbdf27ad89846869afc61dc33edfa085c85c57 /include/sys/sendfile.h
parentf7bead5adac96d9cb72aa2fb3c11ca5ab8f5f6b9 (diff)
sendfile: Use sendfile64 if arch does not have the sendfile syscall
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/sys/sendfile.h')
-rw-r--r--include/sys/sendfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/sendfile.h b/include/sys/sendfile.h
index dd6c0348d..dae074c05 100644
--- a/include/sys/sendfile.h
+++ b/include/sys/sendfile.h
@@ -44,6 +44,7 @@ extern ssize_t __REDIRECT_NTH (sendfile,
#ifdef __USE_LARGEFILE64
extern ssize_t sendfile64 (int __out_fd, int __in_fd, __off64_t *__offset,
size_t __count) __THROW;
+libc_hidden_proto(sendfile64)
#endif
__END_DECLS