diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-28 01:23:38 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-28 01:23:38 +0200 |
commit | 6ec1510f719ad7463d76eea9284428cc605d6b38 (patch) | |
tree | f692b2720d96ad1208682035a1cba498c803b998 /applets/applet_tables.c | |
parent | 4a2aecb53a193916a40594f7c40eab86fedd8f8e (diff) | |
download | busybox-w32-6ec1510f719ad7463d76eea9284428cc605d6b38.tar.gz busybox-w32-6ec1510f719ad7463d76eea9284428cc605d6b38.tar.bz2 busybox-w32-6ec1510f719ad7463d76eea9284428cc605d6b38.zip |
applet_tables: do not include libbb.h, that header ir for target builds
...and applets/applet_tables.c is built on *host*.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'applets/applet_tables.c')
-rw-r--r-- | applets/applet_tables.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/applets/applet_tables.c b/applets/applet_tables.c index 32dcdb73d..3859d7326 100644 --- a/applets/applet_tables.c +++ b/applets/applet_tables.c | |||
@@ -7,13 +7,19 @@ | |||
7 | * | 7 | * |
8 | * Licensed under GPLv2, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | 10 | #include <sys/types.h> | |
11 | #include <sys/stat.h> | ||
12 | #include <fcntl.h> | ||
11 | #include <stdlib.h> | 13 | #include <stdlib.h> |
12 | #include <string.h> | 14 | #include <string.h> |
13 | #include <stdio.h> | 15 | #include <stdio.h> |
16 | #include <unistd.h> | ||
17 | |||
18 | #undef ARRAY_SIZE | ||
19 | #define ARRAY_SIZE(x) ((unsigned)(sizeof(x) / sizeof((x)[0]))) | ||
14 | 20 | ||
15 | #include "../include/autoconf.h" | 21 | #include "../include/autoconf.h" |
16 | #include "../include/busybox.h" | 22 | #include "../include/applet_metadata.h" |
17 | 23 | ||
18 | struct bb_applet { | 24 | struct bb_applet { |
19 | const char *name; | 25 | const char *name; |