aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--custom.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 12bcbb97..5805c103 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2020-02-13 John E. Malmberg <wb8tyw@qsl.net>
+
+ * custom.h: OpenVMS needs _REGEX_INCLUDE_LIMITS_H defined.
+
2020-02-09 Arnold D. Robbins <arnold@skeeve.com>
* awkgram.y: Add lint check for assignment in condition to
diff --git a/custom.h b/custom.h
index 66e755de..b21cf384 100644
--- a/custom.h
+++ b/custom.h
@@ -44,6 +44,10 @@
#include <fp.h>
/* isnan () macro is broken */
#undef isnan
+/* VMS has POSIX confirming limits.h */
+#ifndef _REGEX_INCLUDE_LIMITS_H
+#define _REGEX_INCLUDE_LIMITS_H 1
+#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif /* _GNU_SOURCE */