getservbyport_r: fix wrong result if getnameinfo fails with EAI_OVERFLOW
[musl] / src / linux / sendfile.c
index 818b19d..fc1577d 100644 (file)
@@ -1,10 +1,7 @@
-#include <unistd.h>
+#include <sys/sendfile.h>
 #include "syscall.h"
-#include "libc.h"
 
 ssize_t sendfile(int out_fd, int in_fd, off_t *ofs, size_t count)
 {
        return syscall(SYS_sendfile, out_fd, in_fd, ofs, count);
 }
-
-LFS64(sendfile);