mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
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).
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
#define NVIM_BUFFER_DEFS_H
|
||||
|
||||
#include <stdbool.h>
|
||||
// for FILE
|
||||
#include <stdio.h>
|
||||
|
||||
// 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"
|
||||
|
Reference in New Issue
Block a user