* systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
[bpt/emacs.git] / src / buffer.h
index ddf903e..6e3f7a8 100644 (file)
@@ -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;