diff options
author | Othon BriganĂ³ <othonalberto@gmail.com> | 2017-04-21 10:21:02 -0300 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-04-21 15:21:02 +0200 |
commit | a396874da0efaeb7def5e26afab9ae1c980510a0 (patch) | |
tree | eaad8c745afb2c9aec26938cf5bfcea378017871 /src | |
parent | 19646a2985e54dfc561a90a70054522afc052a45 (diff) | |
download | rneovim-a396874da0efaeb7def5e26afab9ae1c980510a0.tar.gz rneovim-a396874da0efaeb7def5e26afab9ae1c980510a0.tar.bz2 rneovim-a396874da0efaeb7def5e26afab9ae1c980510a0.zip |
refactor/single-include: getchar.h (#6560)
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/nvim/getchar.h | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index a91657f1bd..e4b3b4de13 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -429,7 +429,6 @@ function(get_test_target prefix sfile relative_path_var target_var) endfunction() set(NO_SINGLE_CHECK_HEADERS - getchar.h if_cscope_defs.h misc2.h msgpack_rpc/server.h diff --git a/src/nvim/getchar.h b/src/nvim/getchar.h index bdf65909b6..28584e0534 100644 --- a/src/nvim/getchar.h +++ b/src/nvim/getchar.h @@ -1,6 +1,10 @@ #ifndef NVIM_GETCHAR_H #define NVIM_GETCHAR_H +#include "nvim/types.h" +#include "nvim/buffer_defs.h" +#include "nvim/ex_cmds_defs.h" + /* Values for "noremap" argument of ins_typebuf(). Also used for * map->m_noremap and menu->noremap[]. */ #define REMAP_YES 0 /* allow remapping */ @@ -12,6 +16,7 @@ #define KEYLEN_PART_MAP -2 /* keylen value for incomplete mapping */ #define KEYLEN_REMOVED 9999 /* keylen value for removed sequence */ + #ifdef INCLUDE_GENERATED_DECLARATIONS # include "getchar.h.generated.h" #endif |