Commit dc7c42cdfec450f109151649544b88765877e4ab

Bruno Haible 2023-04-08T12:08:03

login_tty: Fix compilation error in C++ mode on Solaris 11.4. * m4/login_tty.m4 (gl_FUNC_LOGIN_TTY): Test whether <termios.h> exists. Consider it when testing whether login_tty is declared. * lib/utmp.in.h: If none of <util.h> and <libutil.h> exists, include <termios.h> instead. * doc/glibc-functions/login_tty.texi: Document the Solaris 11.4 problem.