ltrace: Fix incompatibilities with Android linker
[termux-packages] / ndk_patches / sys-select.h.patch
CommitLineData
49c5b4d5
FF
1Mosh needs this.
2
3diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/sys/select.h ./usr/include/sys/select.h
4--- /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/sys/select.h 2014-10-14 22:53:49.000000000 -0400
5+++ ./usr/include/sys/select.h 2015-07-23 19:19:06.375287284 -0400
6@@ -54,7 +54,7 @@
7 #if defined(__BIONIC_FORTIFY)
8 extern void __FD_CLR_chk(int, fd_set*, size_t);
9 extern void __FD_SET_chk(int, fd_set*, size_t);
10-extern int __FD_ISSET_chk(int, fd_set*, size_t);
11+extern int __FD_ISSET_chk(int, fd_set const*, size_t);
12 #define FD_CLR(fd, set) __FD_CLR_chk(fd, set, __bos(set))
13 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set))
14 #define FD_ISSET(fd, set) __FD_ISSET_chk(fd, set, __bos(set))