Oops. Since dirent.h depends on BB_FEATURE_SH_TAB_COMPLETION, put it
authorEric Andersen <andersen@codepoet.org>
Tue, 20 Feb 2001 06:42:29 +0000 (06:42 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 20 Feb 2001 06:42:29 +0000 (06:42 -0000)
after busybox.h is included.

cmdedit.c
shell/cmdedit.c

index 9cb53522fe0c730b2ed50b24327dbd58d19f3bda..993e83b21a05c6f595847f8704a52837dea2a9b0 100644 (file)
--- a/cmdedit.c
+++ b/cmdedit.c
 #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"
 
 #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
index 9cb53522fe0c730b2ed50b24327dbd58d19f3bda..993e83b21a05c6f595847f8704a52837dea2a9b0 100644 (file)
 #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"
 
 #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