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:
parent
4f4bcfcd1a
commit
c29c44c00e
@ -35,6 +35,10 @@
|
|||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
|
|
||||||
|
#ifndef _BB_INTERNAL_H_
|
||||||
|
#include "../busybox.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if __GNU_LIBRARY__ < 5
|
#if __GNU_LIBRARY__ < 5
|
||||||
/* libc5 doesn't define socklen_t */
|
/* libc5 doesn't define socklen_t */
|
||||||
typedef unsigned int socklen_t;
|
typedef unsigned int socklen_t;
|
||||||
|
@ -35,6 +35,10 @@
|
|||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
|
|
||||||
|
#ifndef _BB_INTERNAL_H_
|
||||||
|
#include "../busybox.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if __GNU_LIBRARY__ < 5
|
#if __GNU_LIBRARY__ < 5
|
||||||
/* libc5 doesn't define socklen_t */
|
/* libc5 doesn't define socklen_t */
|
||||||
typedef unsigned int socklen_t;
|
typedef unsigned int socklen_t;
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../busybox.h"
|
#include "libbb.h"
|
||||||
|
|
||||||
#ifdef L_full_version
|
#ifdef L_full_version
|
||||||
const char *full_version = BB_BANNER " multi-call binary";
|
const char *full_version = BB_BANNER " multi-call binary";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user