mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
pty, readutmp: Fix for FreeBSD 8.0 and OpenBSD 4.6.
* doc/glibc-functions/login_tty.texi: Mention the include file problem on FreeBSD 8.0 and OpenBSD 4.6. * lib/pty.in.h: Include <sys/types.h> before <libutil.h>. * m4/pty_h.m4 (gl_PTY_H): Likewise. * m4/pty.m4 (gl_FUNC_FORKPTY, gl_FUNC_OPENPTY): Likewise. * m4/readutmp.m4 (gl_READUTMP): Include <sys/types.h> before <utmp.h>. Invoke AC_INCLUDES_DEFAULT instead of using the undocumented variable ac_includes_default. Reported by Mats Erik Andersson <mats.andersson@gisladisker.se>.
This commit is contained in:
@@ -25,5 +25,7 @@ mingw.
|
||||
This function is declared in @code{<utmp.h>} on glibc, Cygwin,
|
||||
in @code{<util.h>} on MacOS X 10.3, NetBSD 3.0, OpenBSD 3.8,
|
||||
in @code{<libutil.h>} on FreeBSD 6.0, Haiku, and not declared at all
|
||||
on OSF/1 5.1, Interix 3.5.
|
||||
on OSF/1 5.1, Interix 3.5. Also note that @code{<sys/types.h>} is
|
||||
a prerequisite of @code{<utmp.h>} on FreeBSD 8.0, OpenBSD 4.6 and
|
||||
of @code{<libutil.h>} on FreeBSD 8.0.
|
||||
@end itemize
|
||||
|
Reference in New Issue
Block a user