18 lines
322 B
Diff
18 lines
322 B
Diff
diff --git include/common.h include/common.h
|
|
index c63d15a..2a8b3bc 100644
|
|
--- include/common.h
|
|
+++ include/common.h
|
|
@@ -41,7 +42,13 @@
|
|
#include <limits.h>
|
|
|
|
#ifdef LINUX
|
|
+#ifdef __GLIBC__
|
|
#include <termio.h>
|
|
+#else
|
|
+#include <termios.h>
|
|
+#include <sys/ioctl.h>
|
|
+#define termio termios
|
|
+#endif
|
|
#endif
|
|
|
|
#ifdef DARWIN
|