aboutsummaryrefslogtreecommitdiff
path: root/console-tools/resize.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/resize.c')
-rw-r--r--console-tools/resize.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/console-tools/resize.c b/console-tools/resize.c
index 4b0d63a03..ed80aa082 100644
--- a/console-tools/resize.c
+++ b/console-tools/resize.c
@@ -14,10 +14,11 @@
//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)