![]() ![]() | ![]() |
version 1.2, 2025/01/19 04:27:45 | version 1.4, 2025/02/25 18:55:13 |
---|---|
Line 49 | Line 49 |
#include <errno.h> | #include <errno.h> |
#include <sys/ioctl.h> | #include <sys/ioctl.h> |
#if defined(__sun) | #if !defined(__APPLE__) && !defined(__gnu_hurd__) && !defined(EMSCRIPTEN) |
# include <termio.h> | # if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__AMIGA) |
# include <termios.h> | |
# if !defined(__AMIGA) | |
# define TCGETA TIOCGETA | |
# define TCSETA TIOCSETA | |
# endif | |
# define termio termios | |
# else | |
# if !defined(MSDOS) | |
# include <termio.h> | |
# endif | |
# endif | |
#else | #else |
# include <termios.h> | # include <termios.h> |
#endif | #endif |