1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-14 23:46:14 +00:00

Include termios as <termios.h>, not <sys/...>. (#118)

termios is available via `<termios.h>` on all supported platforms,
so variants of `<sys/termio.h>` and `<sys/termios.h>` are no
longer needed.
This commit is contained in:
Bruce Mitchener 2020-12-23 13:56:54 +07:00 committed by GitHub
parent 973db49422
commit 33369268c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 8 deletions

View File

@ -11,9 +11,9 @@
#include "version.h"
#include <sys/fcntlcom.h>
#include <sys/termios.h>
#include <sys/ttydev.h>
#include <stdio.h>
#include <termios.h>
#include "lispemul.h"
#include "address.h"

View File

@ -12,13 +12,13 @@
#include <sys/select.h>
#include <sys/types.h>
#include <sys/termios.h>
#include <sys/ttold.h>
#include <sys/time.h>
#include <stropts.h>
#include <fcntl.h>
#include <signal.h>
#include <stdio.h>
#include <termios.h>
#include "lispemul.h"
#include "address.h"

View File

@ -41,13 +41,7 @@ Unix Interface Communications
#include <unistd.h>
#ifdef OS4
#include <sys/termios.h>
#elif OS5
#include <sys/termio.h>
#else
#include <termios.h>
#endif /* OS4 */
#ifdef sun
/* to get S_IFIFO defn for creating fifos */