aboutsummaryrefslogtreecommitdiff
path: root/applets/busybox.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/busybox.c')
-rw-r--r--applets/busybox.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 420c9c0e5..a49565008 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -5,8 +5,10 @@
5#include <errno.h> 5#include <errno.h>
6#include <stdlib.h> 6#include <stdlib.h>
7#include "busybox.h" 7#include "busybox.h"
8#ifdef CONFIG_LOCALE_SUPPORT 8#if ENABLE_LOCALE_SUPPORT
9#include <locale.h> 9#include <locale.h>
10#else
11#define setlocale(x,y)
10#endif 12#endif
11 13
12const char *bb_applet_name; 14const char *bb_applet_name;
@@ -54,6 +56,8 @@ static void install_links(const char *busybox, int use_symbolic_links)
54 } 56 }
55} 57}
56 58
59#else
60#define install_links(x,y)
57#endif /* CONFIG_FEATURE_INSTALLER */ 61#endif /* CONFIG_FEATURE_INSTALLER */
58 62
59int main(int argc, char **argv) 63int main(int argc, char **argv)