X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/b833ad7a98c15e93d49109efaa90472a03168d54..965b70ff5478143a72359eaacf78616e10f195ce:/ndk-patches/utmp.h.patch diff --git a/ndk-patches/utmp.h.patch b/ndk-patches/utmp.h.patch index 60e6ab37..3c335e72 100644 --- a/ndk-patches/utmp.h.patch +++ b/ndk-patches/utmp.h.patch @@ -2,17 +2,17 @@ In Termux login_tty() is implemented in the libutil package to support android-2 diff -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/utmp.h ./usr/include/utmp.h --- /home/fornwall/lib/android-ndk/sysroot/usr/include/utmp.h 2017-06-20 17:41:56.000000000 +0200 -+++ ./usr/include/utmp.h 2017-07-02 11:42:29.724986159 +0200 -@@ -102,11 +102,6 @@ ++++ ./usr/include/utmp.h 2017-07-10 09:47:42.422659110 +0200 +@@ -101,11 +101,7 @@ + struct utmp* getutent(void); void endutent(void); - +- -#if __ANDROID_API__ >= 23 -int login_tty(int) __INTRODUCED_IN(23); -#endif /* __ANDROID_API__ >= 23 */ - -- --__END_DECLS +int login_tty(int); - #endif /* _UTMP_H_ */ + __END_DECLS +