From a7ac4eb5eb216f6cfd7d67ecf635eebacc9a74c6 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Mon, 16 Nov 1992 00:54:53 +0000 Subject: * systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c: Added VMS changes from Roland Roberts. --- src/buffer.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/buffer.h') diff --git a/src/buffer.h b/src/buffer.h index ddf903e5469..6e3f7a8ee23 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -378,6 +378,12 @@ whatever you like. */ #define R_ALLOC_DECLARE(var,data) #endif +/* VAX C is non-ANSI wrt extern declarations and requires the struct + re_pattern_buffer to completely defined for searchbuf's declaration. */ +#ifdef VMS +#include "regex.h" +#endif /* VMS */ + /* A search buffer, with a fastmap allocated and ready to go. */ extern struct re_pattern_buffer searchbuf; -- cgit v1.2.1