diff src/buffer.h @ 1596:0e105bd23f44

* systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c: Added VMS changes from Roland Roberts.
author Jim Blandy <jimb@redhat.com>
date Mon, 16 Nov 1992 00:54:53 +0000
parents fa4c1f1c744d
children 04fb1d3d6992
line wrap: on
line diff
--- a/src/buffer.h	Mon Nov 16 00:54:08 1992 +0000
+++ b/src/buffer.h	Mon Nov 16 00:54:53 1992 +0000
@@ -378,6 +378,12 @@
 #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;