summaryrefslogtreecommitdiff
path: root/usr.bin/tn3270
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-07-18 23:11:44 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-07-18 23:11:44 +0000
commit7da37264d9626a821731a590b0e20fb530348aab (patch)
tree0983d2f5b1663c92353d7607e5aeb7dc1823c46c /usr.bin/tn3270
parent0470d3c1e67d8bcfa4897e2df4090e4651fc61fd (diff)
add missing includes
ok tedu@
Diffstat (limited to 'usr.bin/tn3270')
-rw-r--r--usr.bin/tn3270/api/api_exch.c7
-rw-r--r--usr.bin/tn3270/sys_curses/termout.c5
2 files changed, 8 insertions, 4 deletions
diff --git a/usr.bin/tn3270/api/api_exch.c b/usr.bin/tn3270/api/api_exch.c
index 4fbb0d751ea..f5fbc611b26 100644
--- a/usr.bin/tn3270/api/api_exch.c
+++ b/usr.bin/tn3270/api/api_exch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: api_exch.c,v 1.5 2003/06/03 02:56:18 millert Exp $ */
+/* $OpenBSD: api_exch.c,v 1.6 2003/07/18 23:11:43 david Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
@@ -31,10 +31,13 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)api_exch.c 4.2 (Berkeley) 4/26/91";*/
-static char rcsid[] = "$OpenBSD: api_exch.c,v 1.5 2003/06/03 02:56:18 millert Exp $";
+static char rcsid[] = "$OpenBSD: api_exch.c,v 1.6 2003/07/18 23:11:43 david Exp $";
#endif /* not lint */
+#include <sys/types.h>
+
#include <stdio.h>
+#include <unistd.h>
#include "../general/general.h"
diff --git a/usr.bin/tn3270/sys_curses/termout.c b/usr.bin/tn3270/sys_curses/termout.c
index 264fb276a72..674234128b1 100644
--- a/usr.bin/tn3270/sys_curses/termout.c
+++ b/usr.bin/tn3270/sys_curses/termout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: termout.c,v 1.11 2003/06/03 02:56:19 millert Exp $ */
+/* $OpenBSD: termout.c,v 1.12 2003/07/18 23:11:43 david Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
@@ -31,7 +31,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)termout.c 4.3 (Berkeley) 4/26/91";*/
-static char rcsid[] = "$OpenBSD: termout.c,v 1.11 2003/06/03 02:56:19 millert Exp $";
+static char rcsid[] = "$OpenBSD: termout.c,v 1.12 2003/07/18 23:11:43 david Exp $";
#endif /* not lint */
#if defined(unix)
@@ -41,6 +41,7 @@ static char rcsid[] = "$OpenBSD: termout.c,v 1.11 2003/06/03 02:56:19 millert Ex
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <curses.h>
#include <term.h>
#if defined(ultrix)