#include "bb_config.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-
-#if __GNU_LIBRARY__ < 5 && \
- !defined(__dietlibc__) && \
- !defined(_NEWLIB_VERSION)
-#error "Sorry, this libc version is not supported :("
-#endif
-
-extern const char BB_BANNER[];
-
-#include <features.h>
-
-/* Pull in the utility routines from libbb */
#include "libbb.h"
+/* order matters: used as index into "install_dir[]" in busybox.c */
enum Location {
_BB_DIR_ROOT = 0,
_BB_DIR_BIN,
#include "applets.h"
#undef PROTOTYPES
-#ifndef RB_POWER_OFF
-/* Stop system and switch power off if possible. */
-#define RB_POWER_OFF 0x4321fedc
-#endif
-
-/* Try to pull in PATH_MAX */
-#include <limits.h>
-
-/* for PATH_MAX on systems that don't have it in limits.h */
-#include <sys/param.h>
-#ifndef PATH_MAX
-#define PATH_MAX 256
-#endif
-
-#ifdef DMALLOC
-#include <dmalloc.h>
-#endif
-
#endif /* _BB_INTERNAL_H_ */