make it use termios instead of sgtty.

PR:		ports/113327
Submitted by:	Ed Schouten ed@hoeg.nl
This commit is contained in:
CHOI Junho 2007-06-12 06:51:29 +00:00
parent 9bd7b3d735
commit cd56409f59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193305
2 changed files with 13 additions and 1 deletions

View File

@ -7,7 +7,7 @@ LIBS= -ltermcap
PREFIX?=/usr/local
BIN= ${PREFIX}/bin
CC= cc
CFLAGS= -Dbsd -O
CFLAGS= -Dbsd -O -DTERMIOS -DUNIXV=1
SMALL=
LARGE=
OF= -o ""

View File

@ -0,0 +1,12 @@
--- curses.h Wed Apr 5 11:21:19 1995
+++ curses.h Mon Jun 4 10:07:51 2007
@@ -7,6 +7,9 @@
* kirkenda@cs.pdx.edu
*/
+#if TERMIOS
+#include <termios.h>
+#endif
/* This is the header file for a small, fast, fake curses package */