mirror of
https://git.busybox.net/busybox.git
synced 2024-12-15 08:23:25 +08:00
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 <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include "busybox.h"
|
||||
#include "cmdedit.h"
|
||||
|
||||
#ifdef BB_LOCALE_SUPPORT
|
||||
#include <locale.h>
|
||||
@ -79,8 +81,6 @@
|
||||
#include <glob.h>
|
||||
#define expand_t glob_t
|
||||
#endif
|
||||
#include "busybox.h"
|
||||
#include "cmdedit.h"
|
||||
|
||||
|
||||
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 <mntent.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"
|
||||
#if defined BB_FEATURE_USE_DEVPS_PATCH
|
||||
# include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */
|
||||
#endif
|
||||
|
||||
enum {
|
||||
MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */
|
||||
|
4
sh.c
4
sh.c
@ -64,6 +64,8 @@
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include "busybox.h"
|
||||
#include "cmdedit.h"
|
||||
|
||||
#ifdef BB_LOCALE_SUPPORT
|
||||
#include <locale.h>
|
||||
@ -79,8 +81,6 @@
|
||||
#include <glob.h>
|
||||
#define expand_t glob_t
|
||||
#endif
|
||||
#include "busybox.h"
|
||||
#include "cmdedit.h"
|
||||
|
||||
|
||||
static const int MAX_READ = 128; /* size of input buffer for `read' builtin */
|
||||
|
@ -64,6 +64,8 @@
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include "busybox.h"
|
||||
#include "cmdedit.h"
|
||||
|
||||
#ifdef BB_LOCALE_SUPPORT
|
||||
#include <locale.h>
|
||||
@ -79,8 +81,6 @@
|
||||
#include <glob.h>
|
||||
#define expand_t glob_t
|
||||
#endif
|
||||
#include "busybox.h"
|
||||
#include "cmdedit.h"
|
||||
|
||||
|
||||
static const int MAX_READ = 128; /* size of input buffer for `read' builtin */
|
||||
|
@ -50,10 +50,10 @@
|
||||
#include <stdio.h>
|
||||
#include <mntent.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"
|
||||
#if defined BB_FEATURE_USE_DEVPS_PATCH
|
||||
# include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */
|
||||
#endif
|
||||
|
||||
enum {
|
||||
MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */
|
||||
|
Loading…
Reference in New Issue
Block a user