Moved some #ifdefs down below #include "busybox.h" where they belong.

This commit is contained in:
Mark Whitley 2001-04-25 17:10:30 +00:00
parent 67d7fe66e7
commit 4b541a8817
5 changed files with 12 additions and 12 deletions

4
lash.c
View File

@ -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 */

View File

@ -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
View File

@ -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 */

View File

@ -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 */

View File

@ -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 */