aboutsummaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools')
-rw-r--r--console-tools/dumpkmap.c1
-rw-r--r--console-tools/resize.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/console-tools/dumpkmap.c b/console-tools/dumpkmap.c
index bf8d690da..6412dffc8 100644
--- a/console-tools/dumpkmap.c
+++ b/console-tools/dumpkmap.c
@@ -18,6 +18,7 @@
//usage: "$ dumpkmap > keymap\n"
#include "libbb.h"
+#include "common_bufsiz.h"
/* From <linux/kd.h> */
struct kbentry {
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)