aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-rw-r--r--applets/applet_tables.c10
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
18struct bb_applet { 24struct bb_applet {
19 const char *name; 25 const char *name;