BB_[FEATURE] #defines won't be ignored. Credit to Magnus Damm for spotting
this.
#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;
#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;
*
*/
-#include "../busybox.h"
+#include "libbb.h"
#ifdef L_full_version
const char *full_version = BB_BANNER " multi-call binary";