diff options
author | Rob Landley <rob@landley.net> | 2006-08-09 20:56:23 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-08-09 20:56:23 +0000 |
commit | 519d7df930d2ac14b7a833c0255a4a5abd5a329b (patch) | |
tree | ad8d4242826335c7e418648d60d82a55095f11e1 /include | |
parent | e55a73c7a89d9437bda82d317ee980989a5949db (diff) | |
download | busybox-519d7df930d2ac14b7a833c0255a4a5abd5a329b.tar.gz |
Another whack at scripts/individual. Now builds 212 applets.
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 2 | ||||
-rw-r--r-- | include/platform.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 963a0290c..67d4eb170 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -222,8 +222,10 @@ extern void chomp(char *s); extern void trim(char *s); extern char *skip_whitespace(const char *); +#ifndef BUILD_INDIVIDUAL extern struct BB_applet *find_applet_by_name(const char *name); void run_applet_by_name(const char *name, int argc, char **argv); +#endif /* dmalloc will redefine these to it's own implementation. It is safe * to have the prototypes here unconditionally. */ diff --git a/include/platform.h b/include/platform.h index ca6f3634f..a4ff9b8d7 100644 --- a/include/platform.h +++ b/include/platform.h @@ -154,6 +154,7 @@ __extension__ typedef unsigned long long __u64; #if defined __GLIBC__ || defined __UCLIBC__ \ || defined __dietlibc__ || defined _NEWLIB_VERSION +#define _XOPEN_SOURCE #include <features.h> #define HAVE_FEATURES_H #include <stdint.h> |