![]() ![]() | ![]() |
version 1.1, 2025/01/19 02:04:04 | version 1.4, 2025/02/25 18:55:13 |
---|---|
Line 48 | Line 48 |
#include <time.h> | #include <time.h> |
#include <errno.h> | #include <errno.h> |
#include <sys/ioctl.h> | #include <sys/ioctl.h> |
#include <termios.h> | |
#if !defined(__APPLE__) && !defined(__gnu_hurd__) && !defined(EMSCRIPTEN) | |
# 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 | |
# include <termios.h> | |
#endif | |
#include "config.h" | #include "config.h" |