mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
2851d32044
The japanese/mh port is one of the last ports that still depends on COMPAT_43TTY, because it uses the sgtty programming interface. We'd better port it to the POSIX termios interface. The source code already contains code for SysV termio, which makes it easier to port. PR: ports/124466 Submitted by: Ed Schouten <ed@FreeBSD.org> Approved by: maintainer timeout
18 lines
331 B
C
18 lines
331 B
C
--- uip/msh.c
|
|
+++ uip/msh.c
|
|
@@ -17,14 +17,7 @@
|
|
#include <ctype.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
-#ifndef SYS5
|
|
-#include <sgtty.h>
|
|
-#else /* SYS5 */
|
|
-#include <termio.h>
|
|
-#ifndef NOIOCTLH
|
|
#include <sys/ioctl.h>
|
|
-#endif /* NOIOCTLH */
|
|
-#endif /* SYS5 */
|
|
#include <pwd.h>
|
|
#include <setjmp.h>
|
|
#include <signal.h>
|