This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.h: Move #includes
authorKarl Williamson <public@khwilliamson.com>
Sat, 2 Mar 2013 19:05:26 +0000 (12:05 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 29 Aug 2013 15:55:59 +0000 (09:55 -0600)
These two files were only being #included for non-ebcdic compiles; they
should be included always.

utf8.h

diff --git a/utf8.h b/utf8.h
index 3fb4fd2..6a76210 100644 (file)
--- a/utf8.h
+++ b/utf8.h
@@ -26,6 +26,9 @@
 #    define USE_UTF8_IN_NAMES (PL_hints & HINT_UTF8)
 #endif
 
+#include "regcharclass.h"
+#include "unicode_constants.h"
+
 /* For to_utf8_fold_flags, q.v. */
 #define FOLD_FLAGS_LOCALE 0x1
 #define FOLD_FLAGS_FULL   0x2
@@ -101,9 +104,6 @@ EXTCONST unsigned char PL_utf8skip[];
 
 END_EXTERN_C
 
-#include "regcharclass.h"
-#include "unicode_constants.h"
-
 /* Native character to/from iso-8859-1.  Are the identity functions on ASCII
  * platforms */
 #define NATIVE_TO_LATIN1(ch)     (ch)