| OLD | NEW |
| 1 #ifndef _SYS_SENDFILE_H | 1 #ifndef _SYS_SENDFILE_H |
| 2 #define _SYS_SENDFILE_H | 2 #define _SYS_SENDFILE_H |
| 3 | 3 |
| 4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
| 5 extern "C" { | 5 extern "C" { |
| 6 #endif | 6 #endif |
| 7 | 7 |
| 8 #include <features.h> | 8 #include <features.h> |
| 9 #include <unistd.h> | 9 #include <unistd.h> |
| 10 | 10 |
| 11 ssize_t sendfile(int, int, off_t *, size_t); | 11 ssize_t sendfile(int, int, off_t*, size_t); |
| 12 | 12 |
| 13 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) | 13 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) |
| 14 #define sendfile64 sendfile | 14 #define sendfile64 sendfile |
| 15 #define off64_t off_t | 15 #define off64_t off_t |
| 16 #endif | 16 #endif |
| 17 | 17 |
| 18 #ifdef __cplusplus | 18 #ifdef __cplusplus |
| 19 } | 19 } |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 #endif | 22 #endif |
| OLD | NEW |