aboutsummaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-10 23:32:37 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-10 23:32:37 +0000
commitf1a7141cfcacf606ae321faa58c45617045460fe (patch)
tree6b2f3cabea3c78a1f13a1beb30074881f643707d /console-tools
parent80d14beae9ebe64d3be1e6c2771f292977cf6d2c (diff)
downloadbusybox-f1a7141cfcacf606ae321faa58c45617045460fe.tar.gz
random NOMMU fixes. compressed --help really does work for NOMMU! /me happy
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 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