| 1 | tcgetaddr() and friends are in termios.h |
| 2 | |
| 3 | |
| 4 | |
| 5 | #include <stdio.h> |
| 6 | #include <stdlib.h> |
| 7 | #include <string.h> |
| 8 | -#if defined(__linux__) && !defined(NO_TCGETS2) |
| 9 | -#include <asm/termbits.h> |
| 10 | -#else |
| 11 | #include <termios.h> |
| 12 | -#endif |
| 13 | #include <time.h> |
| 14 | #include <unistd.h> |
| 15 | #if defined(__FreeBSD__) |