refactor/single-include: window.h, version.h (#6570)

This commit is contained in:
relnod 2017-04-22 15:43:35 +02:00 committed by Justin M. Keyes
parent 10f119ab87
commit 654c50b227
3 changed files with 4 additions and 2 deletions

View File

@ -456,8 +456,6 @@ set(NO_SINGLE_CHECK_HEADERS
ui_bridge.h ui_bridge.h
undo.h undo.h
undo_defs.h undo_defs.h
version.h
window.h
) )
foreach(hfile ${NVIM_HEADERS}) foreach(hfile ${NVIM_HEADERS})
get_test_target(test-includes "${hfile}" relative_path texe) get_test_target(test-includes "${hfile}" relative_path texe)

View File

@ -1,6 +1,8 @@
#ifndef NVIM_VERSION_H #ifndef NVIM_VERSION_H
#define NVIM_VERSION_H #define NVIM_VERSION_H
#include "nvim/ex_cmds_defs.h"
// defined in version.c // defined in version.c
extern char* Version; extern char* Version;
extern char* longVersion; extern char* longVersion;

View File

@ -3,6 +3,8 @@
#include <stdbool.h> #include <stdbool.h>
#include "nvim/buffer_defs.h"
/* Values for file_name_in_line() */ /* Values for file_name_in_line() */
#define FNAME_MESS 1 /* give error message */ #define FNAME_MESS 1 /* give error message */
#define FNAME_EXP 2 /* expand to path */ #define FNAME_EXP 2 /* expand to path */