math: new logf
[musl] / src / unistd / pwritev.c
index 1df268d..f5a612c 100644 (file)
@@ -1,8 +1,7 @@
-#define _GNU_SOURCE
+#define _BSD_SOURCE
 #include <sys/uio.h>
 #include <unistd.h>
 #include "syscall.h"
-#include "libc.h"
 
 ssize_t pwritev(int fd, const struct iovec *iov, int count, off_t ofs)
 {
@@ -10,4 +9,4 @@ ssize_t pwritev(int fd, const struct iovec *iov, int count, off_t ofs)
                (long)(ofs), (long)(ofs>>32));
 }
 
-LFS64(pwritev);
+weak_alias(pwritev, pwritev64);