diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-10 23:32:37 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-10 23:32:37 +0000 |
commit | f1a7141cfcacf606ae321faa58c45617045460fe (patch) | |
tree | 6b2f3cabea3c78a1f13a1beb30074881f643707d /console-tools | |
parent | 80d14beae9ebe64d3be1e6c2771f292977cf6d2c (diff) | |
download | busybox-w32-f1a7141cfcacf606ae321faa58c45617045460fe.tar.gz busybox-w32-f1a7141cfcacf606ae321faa58c45617045460fe.tar.bz2 busybox-w32-f1a7141cfcacf606ae321faa58c45617045460fe.zip |
random NOMMU fixes. compressed --help really does work for NOMMU! /me happy
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 | |||
85 | config FEATURE_SETCONSOLE_LONG_OPTIONS | 85 | config FEATURE_SETCONSOLE_LONG_OPTIONS |
86 | bool "Enable long options" | 86 | bool "Enable long options" |
87 | default n | 87 | default n |
88 | depends on SET_CONSOLE && GETOPT_LONG | 88 | depends on SETCONSOLE && GETOPT_LONG |
89 | help | 89 | help |
90 | Support long options for the setconsole applet. | 90 | Support long options for the setconsole applet. |
91 | 91 | ||
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 @@ | |||
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <getopt.h> | ||
10 | #include "busybox.h" | 11 | #include "busybox.h" |
11 | 12 | ||
12 | #if ENABLE_FEATURE_SETCONSOLE_LONG_OPTIONS | 13 | #if ENABLE_FEATURE_SETCONSOLE_LONG_OPTIONS |