summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--configure.ac4
-rw-r--r--includes.h3
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 <sys/ptms.h> 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 <sys/strtio.h> /* for TIOCCBRK on HP-UX */
#endif
+#if defined(HAVE_SYS_PTMS_H) && defined(HAVE_DEV_PTMX)
+#include <sys/ptms.h> /* for grantpt() and friends */
+#endif
#include <netinet/in_systm.h> /* For typedefs */
#include <netinet/in.h> /* For IPv6 macros */