| 1 | diff -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/utmp.h ./usr/include/utmp.h |
| 2 | --- /home/fornwall/lib/android-ndk/sysroot/usr/include/utmp.h 2017-11-09 09:57:12.000000000 +0100 |
| 3 | +++ ./usr/include/utmp.h 2017-11-15 12:01:37.108811692 +0100 |
| 4 | @@ -101,11 +101,8 @@ |
| 5 | struct utmp* getutent(void); |
| 6 | void endutent(void); |
| 7 | |
| 8 | - |
| 9 | -#if __ANDROID_API__ >= 23 |
| 10 | -int login_tty(int __fd) __INTRODUCED_IN(23); |
| 11 | -#endif /* __ANDROID_API__ >= 23 */ |
| 12 | - |
| 13 | +/* In Termux login_tty() is implemented in the libutil package to support android-21. */ |
| 14 | +int login_tty(int __fd); |
| 15 | |
| 16 | __END_DECLS |
| 17 | |