summaryrefslogtreecommitdiff
path: root/cmdedit.c
diff options
context:
space:
mode:
authorEric Andersen2001-02-20 06:42:29 +0000
committerEric Andersen2001-02-20 06:42:29 +0000
commit5165fbed639916e0fde15a827241b21981be7934 (patch)
tree567e0a64a8d6cdf0e8a2ea7b5949dff94e60374d /cmdedit.c
parentcaeeb367841416191d2670fa36545720ca970d5b (diff)
downloadbusybox-5165fbed639916e0fde15a827241b21981be7934.zip
busybox-5165fbed639916e0fde15a827241b21981be7934.tar.gz
Oops. Since dirent.h depends on BB_FEATURE_SH_TAB_COMPLETION, put it
after busybox.h is included.
Diffstat (limited to 'cmdedit.c')
-rw-r--r--cmdedit.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/cmdedit.c b/cmdedit.c
index 9cb5352..993e83b 100644
--- a/cmdedit.c
+++ b/cmdedit.c
@@ -42,12 +42,6 @@
#include <signal.h>
#include <limits.h>
-#ifdef BB_FEATURE_SH_TAB_COMPLETION
-#include <dirent.h>
-#include <sys/stat.h>
-#endif
-
-
#ifndef TEST
#include "busybox.h"
@@ -67,6 +61,11 @@
#endif /* TEST */
+#ifdef BB_FEATURE_SH_TAB_COMPLETION
+#include <dirent.h>
+#include <sys/stat.h>
+#endif
+
#ifdef BB_FEATURE_SH_COMMAND_EDITING
#ifndef BB_FEATURE_SH_TAB_COMPLETION