aboutsummaryrefslogtreecommitdiffstats
path: root/regcomp.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-09-11 11:35:33 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-09-11 11:35:33 +0300
commit4e9562fd62acf478974fc7e0627381f93101083e (patch)
tree1fca56c555231f54716a8f84fac6650a0979a814 /regcomp.c
parent35ba3f02a20d8592d16fb702fae3940d6e12dbfe (diff)
downloadegawk-4e9562fd62acf478974fc7e0627381f93101083e.tar.gz
egawk-4e9562fd62acf478974fc7e0627381f93101083e.tar.bz2
egawk-4e9562fd62acf478974fc7e0627381f93101083e.zip
Further zOS updates: Wrap C compiler.
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)
{