mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-25 21:00:10 +00:00
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>
|
||||
|
||||
#ifndef _BB_INTERNAL_H_
|
||||
#include "../busybox.h"
|
||||
#endif
|
||||
|
||||
#if __GNU_LIBRARY__ < 5
|
||||
/* libc5 doesn't define socklen_t */
|
||||
typedef unsigned int socklen_t;
|
||||
|
@ -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;
|
||||
|
@ -19,7 +19,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "../busybox.h"
|
||||
#include "libbb.h"
|
||||
|
||||
#ifdef L_full_version
|
||||
const char *full_version = BB_BANNER " multi-call binary";
|
||||
|
Loading…
Reference in New Issue
Block a user