X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/termux-packages/blobdiff_plain/b29ec8d981e3ad1320313e0b32d36717dc2fc577..b01dade22db62d20e83bc1900c046b22a93c2036:/ndk_patches/stdio.h.patch diff --git a/ndk_patches/stdio.h.patch b/ndk_patches/stdio.h.patch index c64fda15..325fcf3c 100644 --- a/ndk_patches/stdio.h.patch +++ b/ndk_patches/stdio.h.patch @@ -38,7 +38,7 @@ diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/incl + +/* Used by perl, fish, and others */ +static char* ctermid(char* s) { -+ if (s == 0) return "/dev/tty"; ++ if (s == 0) return (char*) "/dev/tty"; + strcpy(s, "/dev/tty"); + return s; +}