(Per Bothner suggested the basic approach.) */
#undef SIGN_EXTEND_CHAR
#if __STDC__
+#ifndef VMS
#define SIGN_EXTEND_CHAR(c) ((signed char) (c))
+#else /* On VMS, VAXC doesn't recognize `signed' before `char' */
+#define SIGN_EXTEND_CHAR(c) ((char) (c))
+#endif /* VMS */
#else
/* As in Harbison and Steele. */
#define SIGN_EXTEND_CHAR(c) ((((unsigned char) (c)) ^ 128) - 128)
#ifndef __REGEXP_LIBRARY_H__
#define __REGEXP_LIBRARY_H__
+#ifdef VMS
+/* POSIX says that size_t should be in stddef.h. */
+#include <stddef.h>
+#endif
+
/* POSIX says that <sys/types.h> must be included before <regex.h>. */
/* The following bits are used to determine the regexp syntax we