about summary refs log tree commit diff
path: root/include/sys/sendfile.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-04 00:31:25 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-04 00:31:25 -0400
commitf0b85fd926c5a381416c94be62e7bc20d9fdbdb1 (patch)
tree9b7c800d5b67e35f27f6a3e98ba112188ff2874a /include/sys/sendfile.h
parent2dd8d5e1b8ba1118ff1782e96545cb8a2318592c (diff)
downloadmusl-f0b85fd926c5a381416c94be62e7bc20d9fdbdb1.tar.gz
musl-f0b85fd926c5a381416c94be62e7bc20d9fdbdb1.tar.xz
musl-f0b85fd926c5a381416c94be62e7bc20d9fdbdb1.zip
add *64 junk for sys/*.h headers
Diffstat (limited to 'include/sys/sendfile.h')
-rw-r--r--include/sys/sendfile.h5
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