prevent CNAME/PTR parsing from reading data past the response end
[musl] / src / unistd / preadv.c
index 371e46f..890ab40 100644 (file)
@@ -1,13 +1,10 @@
-#define _GNU_SOURCE
+#define _BSD_SOURCE
 #include <sys/uio.h>
 #include <unistd.h>
 #include "syscall.h"
-#include "libc.h"
 
 ssize_t preadv(int fd, const struct iovec *iov, int count, off_t ofs)
 {
        return syscall_cp(SYS_preadv, fd, iov, count,
                (long)(ofs), (long)(ofs>>32));
 }
-
-LFS64(preadv);