- move #include busybox.h to the very top so we pull in the config
and eventual platform specific includes in early.
This commit is contained in:
@@ -44,11 +44,12 @@
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#define IFS_BROKEN
|
||||
|
||||
#define PROFILE 0
|
||||
|
||||
#include "busybox.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
@@ -76,12 +77,10 @@
|
||||
#include <paths.h>
|
||||
#include <setjmp.h>
|
||||
#include <signal.h>
|
||||
#include <stdint.h>
|
||||
/*#include <stdint.h>*/
|
||||
#include <time.h>
|
||||
#include <fnmatch.h>
|
||||
|
||||
|
||||
#include "busybox.h"
|
||||
#include "pwd_.h"
|
||||
|
||||
#ifdef CONFIG_ASH_JOB_CONTROL
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "busybox.h"
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
@@ -41,8 +42,6 @@
|
||||
#include <signal.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "busybox.h"
|
||||
|
||||
#include "../shell/cmdedit.h"
|
||||
|
||||
|
||||
|
||||
@@ -77,6 +77,8 @@
|
||||
*
|
||||
* Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
|
||||
*/
|
||||
|
||||
#include "busybox.h"
|
||||
#include <ctype.h> /* isalpha, isdigit */
|
||||
#include <unistd.h> /* getpid */
|
||||
#include <stdlib.h> /* getenv, atoi */
|
||||
@@ -97,7 +99,6 @@
|
||||
/* #define DEBUG_SHELL */
|
||||
|
||||
#if 1
|
||||
#include "busybox.h"
|
||||
#include "cmdedit.h"
|
||||
#else
|
||||
#define bb_applet_name "hush"
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
//#define DEBUG_SHELL
|
||||
|
||||
|
||||
#include "busybox.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
@@ -33,7 +34,6 @@
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include <termios.h>
|
||||
#include "busybox.h"
|
||||
#include "cmdedit.h"
|
||||
|
||||
#ifdef CONFIG_LOCALE_SUPPORT
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
* Original copyright notice is retained at the end of this file.
|
||||
*/
|
||||
|
||||
#include "busybox.h"
|
||||
#include <ctype.h>
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
@@ -46,7 +47,6 @@
|
||||
#include <sys/wait.h>
|
||||
|
||||
#include "cmdedit.h"
|
||||
#include "busybox.h"
|
||||
|
||||
|
||||
/* Conditional use of "register" keyword */
|
||||
|
||||
Reference in New Issue
Block a user