diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-03-16 21:05:59 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-03-16 21:05:59 +0000 |
commit | c28428c4d59a4181e98d769481ba14161f3af010 (patch) | |
tree | c829b4feae4e80b491a020bfdb0f278687a39d30 /misc/heyu | |
parent | - Update to 0.9.9 (diff) |
The heyu port makes use of <sgtty.h>, though it supports <termios.h>
when -DPOSIX is turned on. Using <sgtty.h> is bad, because it breaks
on kernels without COMPAT_43TTY
PR: 110360
Submitted by: Ed Schouten <ed@fxq.nl>
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=187545
Diffstat (limited to 'misc/heyu')
-rw-r--r-- | misc/heyu/files/patch-tty.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/heyu/files/patch-tty.c b/misc/heyu/files/patch-tty.c new file mode 100644 index 000000000000..d7017998896e --- /dev/null +++ b/misc/heyu/files/patch-tty.c @@ -0,0 +1,16 @@ +--- tty.c Sun Mar 30 22:57:59 2003 ++++ tty.c Thu Mar 15 22:48:59 2007 +@@ -86,11 +86,11 @@ + #include <sgtty.h> + struct sgttyb oldsb, newsb; + #else +-#ifndef POSIX +-#include <termio.h> + #ifndef NCC + #define NCC NCCS + #endif ++#ifndef POSIX ++#include <termio.h> + struct termio oldsb, newsb; + #else + #include <termios.h> |