Look for sys/termios.h - needed for TIOCGWINSZ on some systtems.

This commit is contained in:
Dianne Skoll
2025-10-12 20:43:41 -04:00
parent 2dc5a7776d
commit cab749b651
5 changed files with 15 additions and 1 deletions
+4
View File
@@ -28,6 +28,10 @@
#include <strings.h>
#endif
#ifdef HAVE_SYS_TERMIOS_H
#include <sys/termios.h>
#endif
#include <ctype.h>
#include <math.h>
#include <sys/ioctl.h>