summaryrefslogtreecommitdiff
path: root/lib/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/regex.c')
-rw-r--r--lib/regex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/regex.c b/lib/regex.c
index a69d100e6..34ad1956a 100644
--- a/lib/regex.c
+++ b/lib/regex.c
@@ -55,6 +55,7 @@
/* For platform which support the ISO C amendement 1 functionality we
support user defined character classes. */
#if WIDE_CHAR_SUPPORT
+/* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>. */
# include <wchar.h>
# include <wctype.h>
#endif