From 869378a5bf1d415f52c14d9697b886d8143a73e1 Mon Sep 17 00:00:00 2001 From: "Ryan S. Arnold" Date: Wed, 5 Jun 2013 10:28:33 -0500 Subject: Add #include to locale/gen-translit.pl and fix C-translit.h. --- locale/C-translit.h | 1 - locale/gen-translit.pl | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'locale') 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 - #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 () { } } +printf "#include \n"; + printf "#define NTRANSLIT %d\n", $#froms + 1; printf "static const uint32_t translit_from_idx[] =\n{\n "; -- cgit v1.1