From 9e833a9b8aed5ec11d66248c16adf7804943719c Mon Sep 17 00:00:00 2001 From: tim Date: Tue, 27 Jan 2004 03:03:39 +0000 Subject: [PATCH] [configure.ac includes.h] add for grantpt() and friends. --- ChangeLog | 1 + configure.ac | 2 +- includes.h | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b7f881ba..31fed159 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ - (tim) Typo in regress/README.regress - (tim) [regress/test-exec.sh] RhostsAuthentication is deprecated. - (tim) [defines.h] Add defines for HFIXEDSZ and T_SIG + - (tim) [configure.ac includes.h] add for grantpt() and friends. 20040124 - (djm) Typo in openbsd-compat/bsd-openpty.c; from wendyp AT cray.com diff --git a/configure.ac b/configure.ac index a6392186..32e046c6 100644 --- a/configure.ac +++ b/configure.ac @@ -474,7 +474,7 @@ AC_CHECK_HEADERS(bstring.h crypt.h endian.h features.h floatingpoint.h \ netinet/in_systm.h pam/pam_appl.h paths.h pty.h readpassphrase.h \ rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ strings.h sys/strtio.h sys/audit.h sys/bitypes.h sys/bsdtty.h \ - sys/cdefs.h sys/mman.h sys/pstat.h sys/select.h sys/stat.h \ + sys/cdefs.h sys/mman.h sys/pstat.h sys/ptms.h sys/select.h sys/stat.h \ sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ sys/un.h time.h tmpdir.h ttyent.h usersec.h \ util.h utime.h utmp.h utmpx.h vis.h) diff --git a/includes.h b/includes.h index 764bd57f..d2cc8821 100644 --- a/includes.h +++ b/includes.h @@ -134,6 +134,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #ifdef HAVE_SYS_STRTIO_H #include /* for TIOCCBRK on HP-UX */ #endif +#if defined(HAVE_SYS_PTMS_H) && defined(HAVE_DEV_PTMX) +#include /* for grantpt() and friends */ +#endif #include /* For typedefs */ #include /* For IPv6 macros */ -- 2.45.2