Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h.
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>
Wed, 5 Jun 2013 15:28:33 +0000 (10:28 -0500)
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>
Wed, 5 Jun 2013 17:01:50 +0000 (12:01 -0500)
ChangeLog
locale/C-translit.h
locale/gen-translit.pl

index 9a2a0c52ea1ec724eb72ad4767b0bc58eadae37a..bda0096209b5a5fa79a398e0b1b714eacd7a0091 100644 (file)
--- 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]
index 98f66e28fc3683a7d42cc6520a47f3fed483021c..fdd44500505383bb74174a510d2107edc2982aed 100644 (file)
@@ -1,5 +1,4 @@
 #include <stdint.h>
-
 #define NTRANSLIT 1355
 static const uint32_t translit_from_idx[] =
 {
index d44310b3165fe018fb63bd938daa19ee719f9dab..5f30e30851be8b1f36a6e18c52cb78110728fc39 100644 (file)
@@ -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  ";