diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-02-20 06:42:29 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-02-20 06:42:29 +0000 |
commit | 5165fbed639916e0fde15a827241b21981be7934 (patch) | |
tree | 567e0a64a8d6cdf0e8a2ea7b5949dff94e60374d /shell | |
parent | caeeb367841416191d2670fa36545720ca970d5b (diff) | |
download | busybox-w32-5165fbed639916e0fde15a827241b21981be7934.tar.gz busybox-w32-5165fbed639916e0fde15a827241b21981be7934.tar.bz2 busybox-w32-5165fbed639916e0fde15a827241b21981be7934.zip |
Oops. Since dirent.h depends on BB_FEATURE_SH_TAB_COMPLETION, put it
after busybox.h is included.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/cmdedit.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c index 9cb53522f..993e83b21 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c | |||
@@ -42,12 +42,6 @@ | |||
42 | #include <signal.h> | 42 | #include <signal.h> |
43 | #include <limits.h> | 43 | #include <limits.h> |
44 | 44 | ||
45 | #ifdef BB_FEATURE_SH_TAB_COMPLETION | ||
46 | #include <dirent.h> | ||
47 | #include <sys/stat.h> | ||
48 | #endif | ||
49 | |||
50 | |||
51 | #ifndef TEST | 45 | #ifndef TEST |
52 | 46 | ||
53 | #include "busybox.h" | 47 | #include "busybox.h" |
@@ -67,6 +61,11 @@ | |||
67 | 61 | ||
68 | #endif /* TEST */ | 62 | #endif /* TEST */ |
69 | 63 | ||
64 | #ifdef BB_FEATURE_SH_TAB_COMPLETION | ||
65 | #include <dirent.h> | ||
66 | #include <sys/stat.h> | ||
67 | #endif | ||
68 | |||
70 | #ifdef BB_FEATURE_SH_COMMAND_EDITING | 69 | #ifdef BB_FEATURE_SH_COMMAND_EDITING |
71 | 70 | ||
72 | #ifndef BB_FEATURE_SH_TAB_COMPLETION | 71 | #ifndef BB_FEATURE_SH_TAB_COMPLETION |