0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 9.0.0477: missing dependency may cause crashes on incomplete build

Problem:    Missing dependency may cause crashes on incomplete build.
Solution:   Add dependency.
This commit is contained in:
Bram Moolenaar
2022-09-16 12:28:34 +01:00
parent 48db5dafec
commit 3e8b7a6056
3 changed files with 8 additions and 1 deletions

View File

@@ -20,6 +20,11 @@
# 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.