diff options
| author | markw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-25 18:06:21 +0000 |
|---|---|---|
| committer | markw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-25 18:06:21 +0000 |
| commit | a09d928a64ea2367348ce15bc3e96fb010ba4ebe (patch) | |
| tree | 3621ec8b67d133606ac7f47c1afe3247383d2c94 /libbb | |
| parent | 27984c2964cc1154de6f4f3f273776af6cdb2ca7 (diff) | |
| download | busybox-w32-a09d928a64ea2367348ce15bc3e96fb010ba4ebe.tar.gz busybox-w32-a09d928a64ea2367348ce15bc3e96fb010ba4ebe.tar.bz2 busybox-w32-a09d928a64ea2367348ce15bc3e96fb010ba4ebe.zip | |
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.
git-svn-id: svn://busybox.net/trunk/busybox@2439 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
| -rw-r--r-- | libbb/libbb.h | 4 | ||||
| -rw-r--r-- | libbb/messages.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h index cbc1436fc..2937b4863 100644 --- a/libbb/libbb.h +++ b/libbb/libbb.h | |||
| @@ -35,6 +35,10 @@ | |||
| 35 | 35 | ||
| 36 | #include <features.h> | 36 | #include <features.h> |
| 37 | 37 | ||
| 38 | #ifndef _BB_INTERNAL_H_ | ||
| 39 | #include "../busybox.h" | ||
| 40 | #endif | ||
| 41 | |||
| 38 | #if __GNU_LIBRARY__ < 5 | 42 | #if __GNU_LIBRARY__ < 5 |
| 39 | /* libc5 doesn't define socklen_t */ | 43 | /* libc5 doesn't define socklen_t */ |
| 40 | typedef unsigned int socklen_t; | 44 | typedef unsigned int socklen_t; |
diff --git a/libbb/messages.c b/libbb/messages.c index 16ac63f69..bdf931ba6 100644 --- a/libbb/messages.c +++ b/libbb/messages.c | |||
| @@ -19,7 +19,7 @@ | |||
| 19 | * | 19 | * |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include "../busybox.h" | 22 | #include "libbb.h" |
| 23 | 23 | ||
| 24 | #ifdef L_full_version | 24 | #ifdef L_full_version |
| 25 | const char *full_version = BB_BANNER " multi-call binary"; | 25 | const char *full_version = BB_BANNER " multi-call binary"; |
