diff options
Diffstat (limited to 'mscan.c')
-rw-r--r-- | mscan.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mscan.c b/mscan.c index 52ba9a4..0494409 100644 --- a/mscan.c +++ b/mscan.c @@ -1,6 +1,9 @@ #ifndef _XOPEN_SOURCE #define _XOPEN_SOURCE 700 #endif +#ifdef __sun +#define __EXTENSIONS__ /* to get TIOCGWINSZ */ +#endif #include "xpledge.h" @@ -19,6 +22,7 @@ #include <time.h> #include <unistd.h> #include <wchar.h> +#include <termios.h> #include "blaze822.h" #include "u8decode.h" |