diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c index 55a79a7a6..66bfa67ba 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -53,11 +53,21 @@ | |||
53 | #endif | 53 | #endif |
54 | 54 | ||
55 | #include "busybox.h" /* for applet_names */ | 55 | #include "busybox.h" /* for applet_names */ |
56 | //TODO: pull in some .h and find out do we have SINGLE_APPLET_MAIN? | ||
57 | //#include "applet_tables.h" doesn't work | ||
56 | #include <paths.h> | 58 | #include <paths.h> |
57 | #include <setjmp.h> | 59 | #include <setjmp.h> |
58 | #include <fnmatch.h> | 60 | #include <fnmatch.h> |
59 | #if JOBS || ENABLE_ASH_READ_NCHARS | 61 | |
60 | #include <termios.h> | 62 | #if defined SINGLE_APPLET_MAIN |
63 | /* STANDALONE does not make sense, and won't compile */ | ||
64 | #undef CONFIG_FEATURE_SH_STANDALONE | ||
65 | #undef ENABLE_FEATURE_SH_STANDALONE | ||
66 | #undef USE_FEATURE_SH_STANDALONE | ||
67 | #undef SKIP_FEATURE_SH_STANDALONE(...) | ||
68 | #define ENABLE_FEATURE_SH_STANDALONE 0 | ||
69 | #define USE_FEATURE_SH_STANDALONE(...) | ||
70 | #define SKIP_FEATURE_SH_STANDALONE(...) __VA_ARGS__ | ||
61 | #endif | 71 | #endif |
62 | 72 | ||
63 | #ifndef PIPE_BUF | 73 | #ifndef PIPE_BUF |