From 5d0ccf3b244bec1f89cdfc9adad8dae39c193d6b Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 15 May 2003 21:42:59 +1000 Subject: [PATCH] - (dtucker) HP-UX needs to include for TIOCSBRK --- ChangeLog | 3 ++- configure.ac | 4 ++-- includes.h | 3 +++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ebb93d947..6cf14ea84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -52,6 +52,7 @@ - (djm) Bug #529: sshd doesn't work correctly after SIGHUP (copy argv correctly) - (djm) Bug #444: Wrong paths after reconfigure + - (dtucker) HP-UX needs to include for TIOCSBRK 20030514 - (djm) Bug #117: Don't lie to PAM about username @@ -1527,4 +1528,4 @@ save auth method before monitor_reset_key_state(); bugzilla bug #284; ok provos@ -$Id: ChangeLog,v 1.2722 2003/05/15 11:33:46 djm Exp $ +$Id: ChangeLog,v 1.2723 2003/05/15 11:42:59 dtucker Exp $ diff --git a/configure.ac b/configure.ac index 66d668355..99a85264c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.120 2003/05/15 02:27:08 djm Exp $ +# $Id: configure.ac,v 1.121 2003/05/15 11:42:59 dtucker Exp $ AC_INIT AC_CONFIG_SRCDIR([ssh.c]) @@ -445,7 +445,7 @@ AC_CHECK_HEADERS(bstring.h crypt.h endian.h floatingpoint.h \ login_cap.h maillock.h netdb.h netgroup.h \ netinet/in_systm.h paths.h pty.h readpassphrase.h \ rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ - strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \ + strings.h sys/strtio.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \ sys/mman.h sys/pstat.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 \ diff --git a/includes.h b/includes.h index db9cfc92e..b968be7f8 100644 --- a/includes.h +++ b/includes.h @@ -133,6 +133,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #ifdef HAVE_SYS_MMAN_H #include /* for MAP_ANONYMOUS */ #endif +#ifdef HAVE_SYS_STRTIO_H +#include /* for TIOCCBRK on HP-UX */ +#endif #include /* For typedefs */ #include /* For IPv6 macros */