summaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools')
-rw-r--r--console-tools/Config.in2
-rw-r--r--console-tools/setconsole.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/console-tools/Config.in b/console-tools/Config.in
index 4a5710d..f82d4ce 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 7ddef69..31ee1fc 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