summaryrefslogtreecommitdiff
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 420c9c0..a495650 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -5,8 +5,10 @@
#include <errno.h>
#include <stdlib.h>
#include "busybox.h"
-#ifdef CONFIG_LOCALE_SUPPORT
+#if ENABLE_LOCALE_SUPPORT
#include <locale.h>
+#else
+#define setlocale(x,y)
#endif
const char *bb_applet_name;
@@ -54,6 +56,8 @@ static void install_links(const char *busybox, int use_symbolic_links)
}
}
+#else
+#define install_links(x,y)
#endif /* CONFIG_FEATURE_INSTALLER */
int main(int argc, char **argv)