]> granicus.if.org Git - vim/commitdiff
patch 9.0.0477: missing dependency may cause crashes on incomplete build v9.0.0477
authorBram Moolenaar <Bram@vim.org>
Fri, 16 Sep 2022 11:28:34 +0000 (12:28 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 16 Sep 2022 11:28:34 +0000 (12:28 +0100)
Problem:    Missing dependency may cause crashes on incomplete build.
Solution:   Add dependency.

src/Makefile
src/version.c
src/vim9type.c

index 59c9b64ad79f0c2279931df359a81463127ce01c..668a87f35a9ccf6a43539f6b59e1200169fbedac 100644 (file)
@@ -4191,7 +4191,7 @@ objects/vim9type.o: vim9type.c vim.h protodef.h auto/config.h feature.h os_unix.
  auto/osdef.h ascii.h keymap.h termdefs.h macros.h option.h beval.h \
  proto/gui_beval.pro structs.h regexp.h gui.h libvterm/include/vterm.h \
  libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
- globals.h errors.h
+ globals.h errors.h vim9.h
 objects/viminfo.o: viminfo.c vim.h protodef.h auto/config.h feature.h os_unix.h \
  auto/osdef.h ascii.h keymap.h termdefs.h macros.h option.h beval.h \
  proto/gui_beval.pro structs.h regexp.h gui.h libvterm/include/vterm.h \
index 77db15595ace157639902fab4a4bdc84578a068a..61554461235c6bc5ff74f526f37ffff36eacb381 100644 (file)
@@ -703,6 +703,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    477,
 /**/
     476,
 /**/
index b92a7afb15f629757ba0948b1404aea6e88ac0da..4484abae903e2f87806c0d76c03d802b4a83ed2d 100644 (file)
 # include <float.h>
 #endif
 
+// When not generating protos this is included in proto.h
+#ifdef PROTO
+# include "vim9.h"
+#endif
+
 /*
  * Allocate memory for a type_T and add the pointer to type_gap, so that it can
  * be easily freed later.