diff options
Diffstat (limited to 'console-tools')
-rw-r--r-- | console-tools/Config.in | 2 | ||||
-rw-r--r-- | console-tools/setconsole.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/console-tools/Config.in b/console-tools/Config.in index 4a5710de6..f82d4ce13 100644 --- a/console-tools/Config.in +++ b/console-tools/Config.in @@ -85,7 +85,7 @@ config SETCONSOLE config FEATURE_SETCONSOLE_LONG_OPTIONS bool "Enable long options" default n - depends on SET_CONSOLE && GETOPT_LONG + depends on SETCONSOLE && GETOPT_LONG help Support long options for the setconsole applet. diff --git a/console-tools/setconsole.c b/console-tools/setconsole.c index 7ddef697c..31ee1fc63 100644 --- a/console-tools/setconsole.c +++ b/console-tools/setconsole.c @@ -7,6 +7,7 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ +#include <getopt.h> #include "busybox.h" #if ENABLE_FEATURE_SETCONSOLE_LONG_OPTIONS |