libbb.h now includes ../busybox.h. This way, files in libbb that have
authorMark Whitley <markw@lineo.com>
Wed, 25 Apr 2001 18:06:21 +0000 (18:06 -0000)
committerMark Whitley <markw@lineo.com>
Wed, 25 Apr 2001 18:06:21 +0000 (18:06 -0000)
BB_[FEATURE] #defines won't be ignored. Credit to Magnus Damm for spotting
this.

include/libbb.h
libbb/libbb.h
libbb/messages.c

index cbc1436fce7055953d3daae457dde1aaac1a13d2..2937b486324302eff5b92b59056c69a1ff05b5f8 100644 (file)
 
 #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;
index cbc1436fce7055953d3daae457dde1aaac1a13d2..2937b486324302eff5b92b59056c69a1ff05b5f8 100644 (file)
 
 #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;
index 16ac63f6920f983d5a355d30bca616d93b69ec9f..bdf931ba650e45a6b23f419b155810f7f752e7b7 100644 (file)
@@ -19,7 +19,7 @@
  *
  */
 
-#include "../busybox.h"
+#include "libbb.h"
 
 #ifdef L_full_version
        const char *full_version = BB_BANNER " multi-call binary";