about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--locale/C-translit.h1
-rw-r--r--locale/gen-translit.pl2
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a2a0c52ea..bda0096209 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
+
+	* locale/C-translit.h: Revert #include <stdint.h> because this is a
+	generated file.  Regenerate properly from gen-translit.pl.
+	* locale/gen-translit.pl: Add #include <stdint.h>.  This generates
+	locale/C-translit.h.
+
 2013-06-05  Andreas Schwab  <schwab@suse.de>
 
 	[BZ #15100]
diff --git a/locale/C-translit.h b/locale/C-translit.h
index 98f66e28fc..fdd4450050 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 d44310b316..5f30e30851 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  ";