- (bal) Bugzilla 477 patch by wendyp@cray.com.  Define TIOCGPGRP for
   cray.  Also removed test for tcgetpgrp in configure.ac since it
   is no longer used.
diff --git a/ChangeLog b/ChangeLog
index 70ce055..2dd3bc6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+200301027
+ - (bal) Bugzilla 477 patch by wendyp@cray.com.  Define TIOCGPGRP for
+   cray.  Also removed test for tcgetpgrp in configure.ac since it
+   is no longer used.
+
 20030124
  - (djm) OpenBSD CVS Sync
    - jmc@cvs.openbsd.org 2003/01/23 08:58:47
@@ -1074,4 +1079,4 @@
      save auth method before monitor_reset_key_state(); bugzilla bug #284;
      ok provos@
 
-$Id: ChangeLog,v 1.2587 2003/01/24 00:50:32 djm Exp $
+$Id: ChangeLog,v 1.2588 2003/01/27 21:15:10 mouring Exp $
diff --git a/configure.ac b/configure.ac
index b85f188..870def2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.102 2003/01/20 04:20:25 tim Exp $
+# $Id: configure.ac,v 1.103 2003/01/27 21:15:10 mouring Exp $
 
 AC_INIT
 AC_CONFIG_SRCDIR([ssh.c])
@@ -610,8 +610,7 @@
 	setenv seteuid setgroups setlogin setproctitle setresgid setreuid \
 	setrlimit setsid setpcred setvbuf sigaction sigvec snprintf \
 	socketpair strerror strlcat strlcpy strmode strnvis sysconf \
-	tcgetpgrp truncate utimes vhangup vsnprintf waitpid __b64_ntop \
-	_getpty)
+	truncate utimes vhangup vsnprintf waitpid __b64_ntop _getpty)
 
 dnl Make sure strsep prototype is defined before defining HAVE_STRSEP
 AC_CHECK_DECL(strsep, [AC_CHECK_FUNCS(strsep)])
diff --git a/openbsd-compat/bsd-cray.h b/openbsd-compat/bsd-cray.h
index 8868b43..9a15cb2 100644
--- a/openbsd-compat/bsd-cray.h
+++ b/openbsd-compat/bsd-cray.h
@@ -1,5 +1,5 @@
 /* 
- * $Id: bsd-cray.h,v 1.5 2002/09/26 00:38:51 tim Exp $
+ * $Id: bsd-cray.h,v 1.6 2003/01/27 21:15:11 mouring Exp $
  *
  * bsd-cray.h
  *
@@ -49,6 +49,8 @@
 #ifndef MAXHOSTNAMELEN
 #define MAXHOSTNAMELEN  64
 #endif
+#include <sys/ttold.h>
+#define TIOCGPGRP (tIOC|20)
 #endif
 
 #endif /* _BSD_CRAY_H */