aboutsummaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2012-11-21 20:38:29 +0100
committerFelix Janda <felix.janda@posteo.de>2012-11-21 20:38:29 +0100
commit250e0055fe0596f0f13d6e30f0bfe086702f5a25 (patch)
tree287e906cfd510fbc9fa52c47829814d4e4cba3e8 /toys.h
parentde51192c854d20b19d25daedca9e7ecdc72e13f1 (diff)
downloadtoybox-250e0055fe0596f0f13d6e30f0bfe086702f5a25.tar.gz
Make internalization support optional
Diffstat (limited to 'toys.h')
-rw-r--r--toys.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/toys.h b/toys.h
index 55256efe..69876f23 100644
--- a/toys.h
+++ b/toys.h
@@ -15,7 +15,6 @@
#include <inttypes.h>
#include <limits.h>
#include <libgen.h>
-#include <locale.h>
#include <math.h>
#include <pty.h>
#include <pwd.h>
@@ -47,8 +46,12 @@
#include <unistd.h>
#include <utime.h>
#include <utmpx.h>
+
+#ifdef CFG_TOYBOX_I18N
+#include <locale.h>
#include <wchar.h>
#include <wctype.h>
+#endif
#include "lib/lib.h"
#include "toys/e2fs.h"