X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fpwritev.c;h=becf9debfc3c86d9037584c070ea48e6c71d92a5;hb=246f1c811448f37a44b41cd8df8d0ef9736d95f4;hp=1df268d5a76f2b65c1a0fa4f136770665326375b;hpb=ea544bfe808ef74c6d1727312069c12dd1c5c150;p=musl diff --git a/src/unistd/pwritev.c b/src/unistd/pwritev.c index 1df268d5..becf9deb 100644 --- a/src/unistd/pwritev.c +++ b/src/unistd/pwritev.c @@ -1,13 +1,10 @@ -#define _GNU_SOURCE +#define _BSD_SOURCE #include #include #include "syscall.h" -#include "libc.h" ssize_t pwritev(int fd, const struct iovec *iov, int count, off_t ofs) { return syscall_cp(SYS_pwritev, fd, iov, count, (long)(ofs), (long)(ofs>>32)); } - -LFS64(pwritev);