| 1 | In Termux login_tty() is implemented in the libutil package to support android-21. |
| 2 | |
| 3 | diff -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/utmp.h ./usr/include/utmp.h |
| 4 | --- /home/fornwall/lib/android-ndk/sysroot/usr/include/utmp.h 2017-06-20 17:41:56.000000000 +0200 |
| 5 | +++ ./usr/include/utmp.h 2017-07-02 11:42:29.724986159 +0200 |
| 6 | @@ -102,11 +102,6 @@ |
| 7 | void endutent(void); |
| 8 | |
| 9 | |
| 10 | -#if __ANDROID_API__ >= 23 |
| 11 | -int login_tty(int) __INTRODUCED_IN(23); |
| 12 | -#endif /* __ANDROID_API__ >= 23 */ |
| 13 | - |
| 14 | - |
| 15 | -__END_DECLS |
| 16 | +int login_tty(int); |
| 17 | |
| 18 | #endif /* _UTMP_H_ */ |