X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fpreadv.c;h=8376d60f2a83cd974f640400e5cff91b463bbc51;hb=4f893997e4738faf6dde8320b304298340f51cd2;hp=371e46f8fc62806722d4ee64706058f71d67b1d5;hpb=ea544bfe808ef74c6d1727312069c12dd1c5c150;p=musl diff --git a/src/unistd/preadv.c b/src/unistd/preadv.c index 371e46f8..8376d60f 100644 --- a/src/unistd/preadv.c +++ b/src/unistd/preadv.c @@ -1,8 +1,7 @@ -#define _GNU_SOURCE +#define _BSD_SOURCE #include #include #include "syscall.h" -#include "libc.h" ssize_t preadv(int fd, const struct iovec *iov, int count, off_t ofs) { @@ -10,4 +9,4 @@ ssize_t preadv(int fd, const struct iovec *iov, int count, off_t ofs) (long)(ofs), (long)(ofs>>32)); } -LFS64(preadv); +weak_alias(preadv, preadv64);