about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-09 16:33:47 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-09 16:33:47 -0400
commit2416c63b81f7f79ea781725cf1117c191775c699 (patch)
tree7374b1664025673e26964c4a2fa44b188bb0bd66 /include
parentea544bfe808ef74c6d1727312069c12dd1c5c150 (diff)
downloadmusl-2416c63b81f7f79ea781725cf1117c191775c699.tar.gz
musl-2416c63b81f7f79ea781725cf1117c191775c699.tar.xz
musl-2416c63b81f7f79ea781725cf1117c191775c699.zip
fix up lfs64 junk for preadv/pwritev
Diffstat (limited to 'include')
-rw-r--r--include/sys/uio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/uio.h b/include/sys/uio.h
index 60c5c2fe..09b6ab9e 100644
--- a/include/sys/uio.h
+++ b/include/sys/uio.h
@@ -27,6 +27,11 @@ ssize_t writev (int, const struct iovec *, int);
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 ssize_t preadv (int, const struct iovec *, int, off_t);
 ssize_t pwritev (int, const struct iovec *, int, off_t);
+#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
+#define preadv64 preadv
+#define pwritev64 pwritev
+#define off64_t off_t
+#endif
 #endif
 
 #ifdef _GNU_SOURCE