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
17 lines
331 B
C
17 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>
|