Make linux-build POSIX compatible
Also allow it to actually compile on musl-libc systems. From glibc's termio.h: /* Compatible <termio.h> for old `struct termio' ioctl interface. This is obsolete; use the POSIX.1 `struct termios' interface defined in <termios.h> instead. */
This commit is contained in:
+2
-1
@@ -41,7 +41,8 @@
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef LINUX
|
||||
#include <termio.h>
|
||||
#include <termios.h>
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
#ifdef DARWIN
|
||||
|
||||
Reference in New Issue
Block a user