From 519d7df930d2ac14b7a833c0255a4a5abd5a329b Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 9 Aug 2006 20:56:23 +0000 Subject: Another whack at scripts/individual. Now builds 212 applets. --- include/libbb.h | 2 ++ include/platform.h | 1 + 2 files changed, 3 insertions(+) (limited to 'include') 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 #define HAVE_FEATURES_H #include -- cgit v1.2.3