summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/channels.c4
-rw-r--r--usr.bin/ssh/clientloop.c4
-rw-r--r--usr.bin/ssh/clientloop.h4
-rw-r--r--usr.bin/ssh/includes.h3
-rw-r--r--usr.bin/ssh/packet.h4
-rw-r--r--usr.bin/ssh/serverloop.c4
-rw-r--r--usr.bin/ssh/sshpty.c4
-rw-r--r--usr.bin/ssh/sshpty.h4
-rw-r--r--usr.bin/ssh/sshtty.c4
-rw-r--r--usr.bin/ssh/ttymodes.c4
10 files changed, 28 insertions, 11 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c
index b7e185633ab..90eebc53e9c 100644
--- a/usr.bin/ssh/channels.c
+++ b/usr.bin/ssh/channels.c
@@ -39,7 +39,9 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: channels.c,v 1.232 2006/01/30 12:22:22 reyk Exp $");
+RCSID("$OpenBSD: channels.c,v 1.233 2006/02/07 01:42:00 stevesk Exp $");
+
+#include <termios.h>
#include "ssh.h"
#include "ssh1.h"
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c
index b76f7cfe053..c43a50b2524 100644
--- a/usr.bin/ssh/clientloop.c
+++ b/usr.bin/ssh/clientloop.c
@@ -59,7 +59,9 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: clientloop.c,v 1.149 2005/12/30 15:56:37 reyk Exp $");
+RCSID("$OpenBSD: clientloop.c,v 1.150 2006/02/07 01:42:00 stevesk Exp $");
+
+#include <termios.h>
#include "ssh.h"
#include "ssh1.h"
diff --git a/usr.bin/ssh/clientloop.h b/usr.bin/ssh/clientloop.h
index aed2d918b1d..64cd956d280 100644
--- a/usr.bin/ssh/clientloop.h
+++ b/usr.bin/ssh/clientloop.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.h,v 1.14 2005/07/04 00:58:43 djm Exp $ */
+/* $OpenBSD: clientloop.h,v 1.15 2006/02/07 01:42:00 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -35,6 +35,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <termios.h>
+
/* Client side main loop for the interactive session. */
int client_loop(int, int, int);
void client_x11_get_proto(const char *, const char *, u_int,
diff --git a/usr.bin/ssh/includes.h b/usr.bin/ssh/includes.h
index 819922d384e..9aee7012333 100644
--- a/usr.bin/ssh/includes.h
+++ b/usr.bin/ssh/includes.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: includes.h,v 1.24 2006/02/07 01:18:09 stevesk Exp $ */
+/* $OpenBSD: includes.h,v 1.25 2006/02/07 01:42:00 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -43,7 +43,6 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
-#include <termios.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
diff --git a/usr.bin/ssh/packet.h b/usr.bin/ssh/packet.h
index 8c23646aaae..04123046af5 100644
--- a/usr.bin/ssh/packet.h
+++ b/usr.bin/ssh/packet.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.h,v 1.43 2005/07/25 11:59:40 markus Exp $ */
+/* $OpenBSD: packet.h,v 1.44 2006/02/07 01:42:00 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -16,6 +16,8 @@
#ifndef PACKET_H
#define PACKET_H
+#include <termios.h>
+
#include <openssl/bn.h>
void packet_set_connection(int, int);
diff --git a/usr.bin/ssh/serverloop.c b/usr.bin/ssh/serverloop.c
index 42956bceb27..0fe92b56160 100644
--- a/usr.bin/ssh/serverloop.c
+++ b/usr.bin/ssh/serverloop.c
@@ -35,7 +35,9 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: serverloop.c,v 1.124 2005/12/13 15:03:02 reyk Exp $");
+RCSID("$OpenBSD: serverloop.c,v 1.125 2006/02/07 01:42:00 stevesk Exp $");
+
+#include <termios.h>
#include "xmalloc.h"
#include "packet.h"
diff --git a/usr.bin/ssh/sshpty.c b/usr.bin/ssh/sshpty.c
index 65025e82e9d..28eddeec39c 100644
--- a/usr.bin/ssh/sshpty.c
+++ b/usr.bin/ssh/sshpty.c
@@ -12,9 +12,11 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshpty.c,v 1.12 2004/06/21 17:36:31 avsm Exp $");
+RCSID("$OpenBSD: sshpty.c,v 1.13 2006/02/07 01:42:00 stevesk Exp $");
+#include <termios.h>
#include <util.h>
+
#include "sshpty.h"
#include "log.h"
diff --git a/usr.bin/ssh/sshpty.h b/usr.bin/ssh/sshpty.h
index c0678de2219..a7de7370081 100644
--- a/usr.bin/ssh/sshpty.h
+++ b/usr.bin/ssh/sshpty.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshpty.h,v 1.5 2004/05/08 00:01:37 deraadt Exp $ */
+/* $OpenBSD: sshpty.h,v 1.6 2006/02/07 01:42:00 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -17,6 +17,8 @@
#ifndef SSHPTY_H
#define SSHPTY_H
+#include <termios.h>
+
struct termios get_saved_tio(void);
void leave_raw_mode(void);
void enter_raw_mode(void);
diff --git a/usr.bin/ssh/sshtty.c b/usr.bin/ssh/sshtty.c
index 0b17c3e2d83..dcaba1830f0 100644
--- a/usr.bin/ssh/sshtty.c
+++ b/usr.bin/ssh/sshtty.c
@@ -35,7 +35,9 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshtty.c,v 1.6 2004/05/08 00:01:37 deraadt Exp $");
+RCSID("$OpenBSD: sshtty.c,v 1.7 2006/02/07 01:42:00 stevesk Exp $");
+
+#include <termios.h>
#include "sshpty.h"
#include "log.h"
diff --git a/usr.bin/ssh/ttymodes.c b/usr.bin/ssh/ttymodes.c
index c32e213a439..2913154a4dd 100644
--- a/usr.bin/ssh/ttymodes.c
+++ b/usr.bin/ssh/ttymodes.c
@@ -43,7 +43,9 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ttymodes.c,v 1.19 2003/04/08 20:21:29 itojun Exp $");
+RCSID("$OpenBSD: ttymodes.c,v 1.20 2006/02/07 01:42:00 stevesk Exp $");
+
+#include <termios.h>
#include "packet.h"
#include "log.h"