aboutsummaryrefslogtreecommitdiffstats
path: root/regcomp.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-10-04 11:05:13 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-10-04 11:05:13 +0300
commit8111eca142100dd5a9e9fc11a29e750b0ccbe31a (patch)
tree31b600703dc306cc095359fc900ebb78691a0fbe /regcomp.c
parent6d5c1e1d38f71fdfc1794b5b3723a6e476ffddf4 (diff)
parent97c4e427ab48d4e45889ca74abb0701a049d7606 (diff)
downloadegawk-8111eca142100dd5a9e9fc11a29e750b0ccbe31a.tar.gz
egawk-8111eca142100dd5a9e9fc11a29e750b0ccbe31a.tar.bz2
egawk-8111eca142100dd5a9e9fc11a29e750b0ccbe31a.zip
Merge branch 'feature/zOS-try2' into gawk-4.1-stable
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 fd3ab84a..80dcb0ce 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)
{