1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix build error without sgtty.h.

PR:		ports/119104
Submitted by:	Ed Schouten <ed at fxq dot nl>
This commit is contained in:
Norikatsu Shigemura 2007-12-28 17:32:57 +00:00
parent e3e5aa1398
commit fb80bfbb6d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204658

View File

@ -10,6 +10,15 @@
#include <sys/resource.h>
#endif
#ifdef sco
@@ -236,7 +238,7 @@
#define HAS_UTMP_UT_HOST
#endif
#else /* } !SYSV { */ /* BSD systems */
-#ifndef linux
+#if !defined(linux) && !defined(USE_POSIX_TERMIOS)
#include <sgtty.h>
#endif
#include <sys/resource.h>
@@ -1355,6 +1357,8 @@
d_tio.c_cc[VDISCARD] = CFLUSH;
d_tio.c_cc[VWERASE] = CWERASE;