summaryrefslogtreecommitdiffstats
path: root/lib/strutils.c
diff options
context:
space:
mode:
authormaximilian attems2012-05-31 19:40:49 +0200
committerKarel Zak2012-06-05 14:54:12 +0200
commitab65d635c8bb11b9343e727f8e73e7d718322e1e (patch)
tree70d75645cc8350a659d24691d8dbeee4dba3cfdc /lib/strutils.c
parentMerge branch 'su.1' of https://github.com/kerolasa/lelux-utiliteetit (diff)
downloadkernel-qcow2-util-linux-ab65d635c8bb11b9343e727f8e73e7d718322e1e.tar.gz
kernel-qcow2-util-linux-ab65d635c8bb11b9343e727f8e73e7d718322e1e.tar.xz
kernel-qcow2-util-linux-ab65d635c8bb11b9343e727f8e73e7d718322e1e.zip
lib/strutils: circumvent missing localeconv()
Add stub too nls.h, include it instead of locale.h. Code in strutils handles already returned NULL. Signed-off-by: maximilian attems <max@stro.at>
Diffstat (limited to 'lib/strutils.c')
-rw-r--r--lib/strutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strutils.c b/lib/strutils.c
index 6bdc01d38..036ae0639 100644
--- a/lib/strutils.c
+++ b/lib/strutils.c
@@ -9,10 +9,10 @@
#include <ctype.h>
#include <errno.h>
#include <sys/stat.h>
-#include <locale.h>
#include <string.h>
#include "c.h"
+#include "nls.h"
#include "strutils.h"
#include "bitops.h"