mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
c28428c4d5
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
17 lines
315 B
C
17 lines
315 B
C
--- 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>
|