OSDN Git Service

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 cbc1436..2937b48 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 cbc1436..2937b48 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 16ac63f..bdf931b 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";