diff options
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 963a029..67d4eb1 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 ca6f363..a4ff9b8 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> |