From e6813fd07cb102f5e0826bf33560d4cfa255073a Mon Sep 17 00:00:00 2001 From: gco Date: Fri, 10 Jun 2022 20:11:53 -0700 Subject: solaris needs termios.h and __EXTENSIONS__ for TIOCGWINSZ and winsize --- mscan.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mscan.c') 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 #include #include +#include #include "blaze822.h" #include "u8decode.h" -- cgit 1.4.1