diff options
Diffstat (limited to 'include/sys/sendfile.h')
-rw-r--r-- | include/sys/sendfile.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/sendfile.h b/include/sys/sendfile.h index f0c6ed05..ba9aa548 100644 --- a/include/sys/sendfile.h +++ b/include/sys/sendfile.h @@ -9,6 +9,11 @@ extern "C" { ssize_t sendfile(int, int, off_t *, size_t); +#ifdef _LARGEFILE64_SOURCE +#define sendfile64 sendfile +#define off64_t off_t +#endif + #ifdef __cplusplus } #endif |