summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-08-09 20:56:23 +0000
committerRob Landley <rob@landley.net>2006-08-09 20:56:23 +0000
commit519d7df930d2ac14b7a833c0255a4a5abd5a329b (patch)
treead8d4242826335c7e418648d60d82a55095f11e1 /include
parente55a73c7a89d9437bda82d317ee980989a5949db (diff)
downloadbusybox-w32-519d7df930d2ac14b7a833c0255a4a5abd5a329b.tar.gz
busybox-w32-519d7df930d2ac14b7a833c0255a4a5abd5a329b.tar.bz2
busybox-w32-519d7df930d2ac14b7a833c0255a4a5abd5a329b.zip
Another whack at scripts/individual. Now builds 212 applets.
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
-rw-r--r--include/platform.h1
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);
222extern void trim(char *s); 222extern void trim(char *s);
223extern char *skip_whitespace(const char *); 223extern char *skip_whitespace(const char *);
224 224
225#ifndef BUILD_INDIVIDUAL
225extern struct BB_applet *find_applet_by_name(const char *name); 226extern struct BB_applet *find_applet_by_name(const char *name);
226void run_applet_by_name(const char *name, int argc, char **argv); 227void run_applet_by_name(const char *name, int argc, char **argv);
228#endif
227 229
228/* dmalloc will redefine these to it's own implementation. It is safe 230/* dmalloc will redefine these to it's own implementation. It is safe
229 * to have the prototypes here unconditionally. */ 231 * 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;
154 154
155#if defined __GLIBC__ || defined __UCLIBC__ \ 155#if defined __GLIBC__ || defined __UCLIBC__ \
156 || defined __dietlibc__ || defined _NEWLIB_VERSION 156 || defined __dietlibc__ || defined _NEWLIB_VERSION
157#define _XOPEN_SOURCE
157#include <features.h> 158#include <features.h>
158#define HAVE_FEATURES_H 159#define HAVE_FEATURES_H
159#include <stdint.h> 160#include <stdint.h>