aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrelnod <relnod@users.noreply.github.com>2017-04-22 15:43:35 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-04-22 15:43:35 +0200
commit654c50b227b7616300763da75ad4a79151883694 (patch)
treec8cd18feaa0e922bd1896116f6f484901018cd55
parent10f119ab87442a9798bdd2d375b167fca5a0c62d (diff)
downloadrneovim-654c50b227b7616300763da75ad4a79151883694.tar.gz
rneovim-654c50b227b7616300763da75ad4a79151883694.tar.bz2
rneovim-654c50b227b7616300763da75ad4a79151883694.zip
refactor/single-include: window.h, version.h (#6570)
-rw-r--r--src/nvim/CMakeLists.txt2
-rw-r--r--src/nvim/version.h2
-rw-r--r--src/nvim/window.h2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index e4b3b4de13..04fe56952f 100644
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -456,8 +456,6 @@ set(NO_SINGLE_CHECK_HEADERS
ui_bridge.h
undo.h
undo_defs.h
- version.h
- window.h
)
foreach(hfile ${NVIM_HEADERS})
get_test_target(test-includes "${hfile}" relative_path texe)
diff --git a/src/nvim/version.h b/src/nvim/version.h
index 1de809e539..a0babfb156 100644
--- a/src/nvim/version.h
+++ b/src/nvim/version.h
@@ -1,6 +1,8 @@
#ifndef NVIM_VERSION_H
#define NVIM_VERSION_H
+#include "nvim/ex_cmds_defs.h"
+
// defined in version.c
extern char* Version;
extern char* longVersion;
diff --git a/src/nvim/window.h b/src/nvim/window.h
index 2ac4c00c28..82b3fe5e88 100644
--- a/src/nvim/window.h
+++ b/src/nvim/window.h
@@ -3,6 +3,8 @@
#include <stdbool.h>
+#include "nvim/buffer_defs.h"
+
/* Values for file_name_in_line() */
#define FNAME_MESS 1 /* give error message */
#define FNAME_EXP 2 /* expand to path */