Explorar o código

another attempt to fix sendfile64

Peter S. Mazinger %!s(int64=20) %!d(string=hai) anos
pai
achega
bda2d7e868
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      libc/sysdeps/linux/common/sendfile.c

+ 1 - 0
libc/sysdeps/linux/common/sendfile.c

@@ -15,6 +15,7 @@ _syscall4(ssize_t, sendfile, int, out_fd, int, in_fd, __off_t *, offset,
 		  size_t, count);
 
 #if ! defined __NR_sendfile64 && defined __UCLIBC_HAS_LFS__
+#undef sendfile64
 extern __typeof(sendfile) sendfile64;
 libc_hidden_proto(sendfile64)
 strong_alias(sendfile,sendfile64)