libbb: make bb_common_bufsiz1 1 kbyte, add capability to use bss tail for it
[oweals/busybox.git] / console-tools / resize.c
index 4b0d63a03c8086a802e8d889aeeeb38b549f601f..ed80aa082c87ada9708bad936711b70c2eda56b1 100644 (file)
 //usage:       "Resize the screen"
 
 #include "libbb.h"
+#include "common_bufsiz.h"
 
 #define ESC "\033"
 
-#define old_termios_p ((struct termios*)&bb_common_bufsiz1)
+#define old_termios_p ((struct termios*)bb_common_bufsiz1)
 
 static void
 onintr(int sig UNUSED_PARAM)