components/desktop/firefox/patches/firefox-06-hnjfile.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Mon, 05 Sep 2016 05:00:46 -0700
branchs11u3-sru
changeset 7035 4c2f26e9d5ab
permissions -rw-r--r--
24361911 Upgrade Firefox to version 45.4.0 ESR 23033044 firefox needs to be built with "--with-intl-api" option 24708365 problem in FIREFOX/BROWSER 24708614 problem in FIREFOX/BROWSER

This allows us to access some function from wchar.h that other platforms
can get from stdio.h. 
Potentially add an ifdef Solaris statement to try and send upstream.

diff --git a/intl/hyphenation/glue/hnjalloc.h b/intl/hyphenation/glue/hnjalloc.h
--- a/intl/hyphenation/glue/hnjalloc.h
+++ b/intl/hyphenation/glue/hnjalloc.h
@@ -24,6 +24,7 @@
  */
 
 #include <stdio.h> /* ensure stdio.h is loaded before our macros */
+#include <wchar.h>
 
 #undef FILE 
 #define FILE hnjFile