change strange depend to libbb.h, but require busybox.h

This commit is contained in:
"Vladimir N. Oleynik" 2005-10-06 15:18:09 +00:00
parent 664c6e7ea0
commit ba248206fe
4 changed files with 3 additions and 5 deletions

View File

@ -27,8 +27,7 @@
#include <getopt.h> /* optind */ #include <getopt.h> /* optind */
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include "busybox.h"
#include "libbb.h"
static int read_stduu(FILE *src_stream, FILE *dst_stream) static int read_stduu(FILE *src_stream, FILE *dst_stream)
{ {

View File

@ -52,7 +52,7 @@
#include <getopt.h> #include <getopt.h>
#include <stdlib.h> #include <stdlib.h>
#include "libbb.h" #include "busybox.h"
static const struct option runparts_long_options[] = { static const struct option runparts_long_options[] = {
{ "test", 0, NULL, 't' }, { "test", 0, NULL, 't' },

View File

@ -39,7 +39,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include "busybox.h" #include "busybox.h"
#include "libbb.h"
static int copy_lines(FILE *src_stream, FILE *dest_stream, const unsigned int lines_count) static int copy_lines(FILE *src_stream, FILE *dest_stream, const unsigned int lines_count)
{ {

View File

@ -20,7 +20,7 @@
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include "libbb.h" #include "busybox.h"
#ifdef USE_TTY_GROUP #ifdef USE_TTY_GROUP
#define S_IWGRP_OR_S_IWOTH S_IWGRP #define S_IWGRP_OR_S_IWOTH S_IWGRP