aboutsummaryrefslogtreecommitdiffstats
path: root/regcomp.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-10-04 11:25:17 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-10-04 11:25:17 +0300
commitad122d8fe3acb4cde689f2995f8505eef73f0a35 (patch)
treee9f930c934fc6b32f902aa76b4d2859b0b55f21d /regcomp.c
parent588f4f5b2808c1b3cadff6c1c26c9b1d5c70b918 (diff)
parent2626d04d332dd87d4e6e9effe943dd6aa3d21cac (diff)
downloadegawk-ad122d8fe3acb4cde689f2995f8505eef73f0a35.tar.gz
egawk-ad122d8fe3acb4cde689f2995f8505eef73f0a35.tar.bz2
egawk-ad122d8fe3acb4cde689f2995f8505eef73f0a35.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/regcomp.c b/regcomp.c
index 773af291..ea73a2e4 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -21,6 +21,10 @@
#include <stdint.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#ifdef _LIBC
# include <locale/weight.h>
#endif
@@ -211,10 +215,7 @@ const size_t __re_error_msgid_idx[] attribute_hidden =
/* Entry points for GNU code. */
-#ifdef ZOS_USS
-
-/* For ZOS USS we must define btowc */
-
+#ifndef HAVE_BTOWC
wchar_t
btowc (int c)
{