libbb.h now includes ../busybox.h. This way, files in libbb that have

BB_[FEATURE] #defines won't be ignored. Credit to Magnus Damm for spotting
this.
This commit is contained in:
Mark Whitley 2001-04-25 18:06:21 +00:00
parent 4f4bcfcd1a
commit c29c44c00e
3 changed files with 9 additions and 1 deletions

View File

@ -35,6 +35,10 @@
#include <features.h>
#ifndef _BB_INTERNAL_H_
#include "../busybox.h"
#endif
#if __GNU_LIBRARY__ < 5
/* libc5 doesn't define socklen_t */
typedef unsigned int socklen_t;

View File

@ -35,6 +35,10 @@
#include <features.h>
#ifndef _BB_INTERNAL_H_
#include "../busybox.h"
#endif
#if __GNU_LIBRARY__ < 5
/* libc5 doesn't define socklen_t */
typedef unsigned int socklen_t;

View File

@ -19,7 +19,7 @@
*
*/
#include "../busybox.h"
#include "libbb.h"
#ifdef L_full_version
const char *full_version = BB_BANNER " multi-call binary";