stty: struct winsz is needed
authorAlan Cox <alan@linux.intel.com>
Wed, 31 Aug 2016 00:23:23 +0000 (01:23 +0100)
committerAlan Cox <alan@linux.intel.com>
Wed, 31 Aug 2016 00:23:23 +0000 (01:23 +0100)
Applications/util/stty.c

index 53260be..70429c9 100644 (file)
@@ -90,6 +90,9 @@
 char *prog_name;
 struct termios termios;
 int column= 0, max_column=80;          /* Assume 80 character terminals. */
+#ifdef TIOCGWINSZ
+struct winsize winsize;
+#endif
 
 void main(int argc, char *argv[]);
 void report(int flags);