aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-25 01:36:03 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-25 01:36:03 +0000
commit61befda93b2ed2458c8db50d2d03cff453d36565 (patch)
treed8d9c76401d87b183bd99e7c2e82d6b6cd79f564 /shell/ash.c
parent16898406724b99ec61d16b38393137bddd6ecc25 (diff)
downloadbusybox-61befda93b2ed2458c8db50d2d03cff453d36565.tar.gz
ash,hush: add TODO for rare build failure
*: remove some redundant includes
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c14
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 @@
#endif
#include "busybox.h" /* for applet_names */
+//TODO: pull in some .h and find out do we have SINGLE_APPLET_MAIN?
+//#include "applet_tables.h" doesn't work
#include <paths.h>
#include <setjmp.h>
#include <fnmatch.h>
-#if JOBS || ENABLE_ASH_READ_NCHARS
-#include <termios.h>
+
+#if defined SINGLE_APPLET_MAIN
+/* STANDALONE does not make sense, and won't compile */
+#undef CONFIG_FEATURE_SH_STANDALONE
+#undef ENABLE_FEATURE_SH_STANDALONE
+#undef USE_FEATURE_SH_STANDALONE
+#undef SKIP_FEATURE_SH_STANDALONE(...)
+#define ENABLE_FEATURE_SH_STANDALONE 0
+#define USE_FEATURE_SH_STANDALONE(...)
+#define SKIP_FEATURE_SH_STANDALONE(...) __VA_ARGS__
#endif
#ifndef PIPE_BUF