From 7c6079f6f0d0fc59dd747c2ecd9e1e1ca1e0e66d Mon Sep 17 00:00:00 2001 From: Nicolas Hillegeer Date: Sat, 12 Jul 2014 20:13:56 +0200 Subject: vim: include used definitions in headers This is not an exhaustive commit, it merely ameliorates the situations a bit. There are quite a few header files that don't include all the types they use in their function/struct/... definitions. This throws of the testing infrastructure (but is not such a problem for the main binary that has the "tumbleweed of includes"-phenomenon). --- src/nvim/buffer_defs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/nvim/buffer_defs.h') diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 9d81388a3c..e827642d8a 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -2,10 +2,12 @@ #define NVIM_BUFFER_DEFS_H #include +// for FILE +#include // for garray_T #include "nvim/garray.h" -// for pos_T and lpos_T +// for pos_T, lpos_T and linenr_T #include "nvim/pos.h" // for the number window-local and buffer-local options #include "nvim/option_defs.h" -- cgit