Oops. Since dirent.h depends on BB_FEATURE_SH_TAB_COMPLETION, put it
after busybox.h is included.
This commit is contained in:
parent
caeeb36784
commit
5165fbed63
11
cmdedit.c
11
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user