aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-06-05 10:28:33 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-06-05 12:01:50 -0500
commit869378a5bf1d415f52c14d9697b886d8143a73e1 (patch)
tree4c2fd9fc3080f1867318652e6c1493fb0ed5407a /locale
parent840e2943e8ae020adfa7eafa7877f004e7ecada1 (diff)
downloadglibc-869378a5bf1d415f52c14d9697b886d8143a73e1.zip
glibc-869378a5bf1d415f52c14d9697b886d8143a73e1.tar.gz
glibc-869378a5bf1d415f52c14d9697b886d8143a73e1.tar.bz2
Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h.
Diffstat (limited to 'locale')
-rw-r--r--locale/C-translit.h1
-rw-r--r--locale/gen-translit.pl2
2 files changed, 2 insertions, 1 deletions
diff --git a/locale/C-translit.h b/locale/C-translit.h
index 98f66e2..fdd4450 100644
--- a/locale/C-translit.h
+++ b/locale/C-translit.h
@@ -1,5 +1,4 @@
#include <stdint.h>
-
#define NTRANSLIT 1355
static const uint32_t translit_from_idx[] =
{
diff --git a/locale/gen-translit.pl b/locale/gen-translit.pl
index d44310b3..5f30e30 100644
--- a/locale/gen-translit.pl
+++ b/locale/gen-translit.pl
@@ -53,6 +53,8 @@ while (<F>) {
}
}
+printf "#include <stdint.h>\n";
+
printf "#define NTRANSLIT %d\n", $#froms + 1;
printf "static const uint32_t translit_from_idx[] =\n{\n ";