summaryrefslogtreecommitdiff
path: root/src/include/regex/regcustom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/regex/regcustom.h')
-rw-r--r--src/include/regex/regcustom.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/regex/regcustom.h b/src/include/regex/regcustom.h
index 82c9e2fad81..100c52d640f 100644
--- a/src/include/regex/regcustom.h
+++ b/src/include/regex/regcustom.h
@@ -43,11 +43,9 @@
/*
* towlower() and friends should be in <wctype.h>, but some pre-C99 systems
- * declare them in <wchar.h>.
+ * declare them in <wchar.h>, so include that too.
*/
-#ifdef HAVE_WCHAR_H
#include <wchar.h>
-#endif
#ifdef HAVE_WCTYPE_H
#include <wctype.h>
#endif