about summary refs log tree commit diff
path: root/mflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'mflow.c')
-rw-r--r--mflow.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mflow.c b/mflow.c
index 9bed19d..5ba925e 100644
--- a/mflow.c
+++ b/mflow.c
@@ -1,3 +1,7 @@
+#ifdef __sun
+#define __EXTENSIONS__ /* to get TIOCGWINSZ */
+#endif
+
 #include <sys/ioctl.h>
 #include <sys/stat.h>
 
@@ -9,6 +13,7 @@
 #include <string.h>
 #include <strings.h>
 #include <unistd.h>
+#include <termios.h>
 
 #include "blaze822.h"
 #include "xpledge.h"