Moved some #ifdefs down below #include "busybox.h" where they belong.
This commit is contained in:
parent
67d7fe66e7
commit
4b541a8817
4
lash.c
4
lash.c
@ -64,6 +64,8 @@
|
|||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
#include "busybox.h"
|
||||||
|
#include "cmdedit.h"
|
||||||
|
|
||||||
#ifdef BB_LOCALE_SUPPORT
|
#ifdef BB_LOCALE_SUPPORT
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
@ -79,8 +81,6 @@
|
|||||||
#include <glob.h>
|
#include <glob.h>
|
||||||
#define expand_t glob_t
|
#define expand_t glob_t
|
||||||
#endif
|
#endif
|
||||||
#include "busybox.h"
|
|
||||||
#include "cmdedit.h"
|
|
||||||
|
|
||||||
|
|
||||||
static const int MAX_READ = 128; /* size of input buffer for `read' builtin */
|
static const int MAX_READ = 128; /* size of input buffer for `read' builtin */
|
||||||
|
6
mount.c
6
mount.c
@ -50,10 +50,10 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <mntent.h>
|
#include <mntent.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#if defined BB_FEATURE_USE_DEVPS_PATCH
|
|
||||||
#include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */
|
|
||||||
#endif
|
|
||||||
#include "busybox.h"
|
#include "busybox.h"
|
||||||
|
#if defined BB_FEATURE_USE_DEVPS_PATCH
|
||||||
|
# include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */
|
||||||
|
#endif
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */
|
MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */
|
||||||
|
4
sh.c
4
sh.c
@ -64,6 +64,8 @@
|
|||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
#include "busybox.h"
|
||||||
|
#include "cmdedit.h"
|
||||||
|
|
||||||
#ifdef BB_LOCALE_SUPPORT
|
#ifdef BB_LOCALE_SUPPORT
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
@ -79,8 +81,6 @@
|
|||||||
#include <glob.h>
|
#include <glob.h>
|
||||||
#define expand_t glob_t
|
#define expand_t glob_t
|
||||||
#endif
|
#endif
|
||||||
#include "busybox.h"
|
|
||||||
#include "cmdedit.h"
|
|
||||||
|
|
||||||
|
|
||||||
static const int MAX_READ = 128; /* size of input buffer for `read' builtin */
|
static const int MAX_READ = 128; /* size of input buffer for `read' builtin */
|
||||||
|
@ -64,6 +64,8 @@
|
|||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
#include "busybox.h"
|
||||||
|
#include "cmdedit.h"
|
||||||
|
|
||||||
#ifdef BB_LOCALE_SUPPORT
|
#ifdef BB_LOCALE_SUPPORT
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
@ -79,8 +81,6 @@
|
|||||||
#include <glob.h>
|
#include <glob.h>
|
||||||
#define expand_t glob_t
|
#define expand_t glob_t
|
||||||
#endif
|
#endif
|
||||||
#include "busybox.h"
|
|
||||||
#include "cmdedit.h"
|
|
||||||
|
|
||||||
|
|
||||||
static const int MAX_READ = 128; /* size of input buffer for `read' builtin */
|
static const int MAX_READ = 128; /* size of input buffer for `read' builtin */
|
||||||
|
@ -50,10 +50,10 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <mntent.h>
|
#include <mntent.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#if defined BB_FEATURE_USE_DEVPS_PATCH
|
|
||||||
#include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */
|
|
||||||
#endif
|
|
||||||
#include "busybox.h"
|
#include "busybox.h"
|
||||||
|
#if defined BB_FEATURE_USE_DEVPS_PATCH
|
||||||
|
# include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */
|
||||||
|
#endif
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */
|
MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user