summaryrefslogtreecommitdiff
path: root/src/internal/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/syscall.h')
-rw-r--r--src/internal/syscall.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/syscall.h b/src/internal/syscall.h
index dcfae003..d0fe107e 100644
--- a/src/internal/syscall.h
+++ b/src/internal/syscall.h
@@ -163,4 +163,9 @@ long __syscall_ret(unsigned long), __syscall(syscall_arg_t, ...),
#define SYS_fadvise SYS_fadvise64_64
#endif
+#ifdef SYS_sendfile64
+#undef SYS_sendfile
+#define SYS_sendfile SYS_sendfile64
+#endif
+
#endif