summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-07-27 15:24:33 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-07-27 15:24:33 +0000
commit703c1aa1e08aea916cf6b0c70e590a55578d75ba (patch)
tree5409848cdb9fbe2b38602df6ac9ba1c88580cbaa /usr.bin
parent14d5b2107792579ba0954ef15dca643b4143f2fb (diff)
Use -D_USE_OLD_CURSES_ so we don't need to include ocurses.h explicately
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tn3270/Makefile.inc4
-rw-r--r--usr.bin/tn3270/sys_curses/termout.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tn3270/Makefile.inc b/usr.bin/tn3270/Makefile.inc
index b85a759f9a8..72ceb9185f5 100644
--- a/usr.bin/tn3270/Makefile.inc
+++ b/usr.bin/tn3270/Makefile.inc
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile.inc,v 1.2 1996/06/26 05:40:59 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.3 1998/07/27 15:24:32 millert Exp $
-CFLAGS += -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix
+CFLAGS += -DTERMCAP -D_USE_OLD_CURSES_ -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix
KBD = unix.kbd
.include "${.CURDIR}/../../Makefile.inc"
diff --git a/usr.bin/tn3270/sys_curses/termout.c b/usr.bin/tn3270/sys_curses/termout.c
index 680b9ef6d7c..958c466046f 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.5 1996/06/26 05:41:32 deraadt Exp $ */
+/* $OpenBSD: termout.c,v 1.6 1998/07/27 15:24:31 millert Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
@@ -35,7 +35,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)termout.c 4.3 (Berkeley) 4/26/91";*/
-static char rcsid[] = "$OpenBSD: termout.c,v 1.5 1996/06/26 05:41:32 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: termout.c,v 1.6 1998/07/27 15:24:31 millert Exp $";
#endif /* not lint */
#if defined(unix)
@@ -45,7 +45,7 @@ static char rcsid[] = "$OpenBSD: termout.c,v 1.5 1996/06/26 05:41:32 deraadt Exp
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <ocurses.h>
+#include <curses.h>
#if defined(ultrix)
/* Some version of this OS has a bad definition for nonl() */
#undef nl