summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal')
-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 08a85784..3f4490e1 100644
--- a/src/internal/syscall.h
+++ b/src/internal/syscall.h
@@ -163,6 +163,11 @@ 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
+
/* socketcall calls */
#define __SC_socket 1