From 2597bfd1fbc2ba9aca603c489cdf90d7b9ac5834 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Mon, 26 Jan 2004 19:03:39 -0800 Subject: [configure.ac includes.h] add for grantpt() and friends. --- ChangeLog | 3 ++- configure.ac | 4 ++-- includes.h | 3 +++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6b67afe64..ba47af80e 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 @@ -1734,4 +1735,4 @@ - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. Report from murple@murple.net, diagnosis from dtucker@zip.com.au -$Id: ChangeLog,v 1.3190 2004/01/27 00:02:17 tim Exp $ +$Id: ChangeLog,v 1.3191 2004/01/27 03:03:39 tim Exp $ diff --git a/configure.ac b/configure.ac index 51be4534b..3b04182d5 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.188 2004/01/24 02:35:16 tim Exp $ +# $Id: configure.ac,v 1.189 2004/01/27 03:03:39 tim Exp $ AC_INIT AC_CONFIG_SRCDIR([ssh.c]) @@ -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 764bd57fe..d2cc88213 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 */ -- cgit v1.2.3