chiark / gitweb /
pass: Add comment on why we depend on coreutils
[termux-packages] / disabled-packages / openjdk-9-jre-headless / sendfile64.patch
1 --- ./jdk/src/java.base/unix/native/libnio/ch/FileChannelImpl.c 2017-05-12 23:48:01.000000000 +0530
2 +++ ../FileChannelImpl.c        2017-05-14 22:51:02.292589382 +0530
3 @@ -41,8 +41,6 @@
4  #include <sys/sendfile.h>
5  #ifdef __ANDROID__
6  #define mmap64 mmap
7 -#include <sys/syscall.h>
8 -#define sendfile64(a,b,c,d) syscall(__NR_sendfile64, a, b, c, d);
9  #endif
10  #elif defined(_AIX)
11  #include <sys/socket.h>