aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrelnod <mail@paul-schiffers.de>2017-04-27 21:43:27 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-04-27 21:43:27 +0200
commit56911050e0e8b1917ef6d750cf8dac6fdcb9ef06 (patch)
treeb91653b0bc10e3049c09c47257585c788f4f2a3b
parentce245c2c61c1052dcc65e1b0ac16efc7095aff04 (diff)
downloadrneovim-56911050e0e8b1917ef6d750cf8dac6fdcb9ef06.tar.gz
rneovim-56911050e0e8b1917ef6d750cf8dac6fdcb9ef06.tar.bz2
rneovim-56911050e0e8b1917ef6d750cf8dac6fdcb9ef06.zip
refactor/single-include (#6604)
-rw-r--r--src/nvim/CMakeLists.txt5
-rw-r--r--src/nvim/sha256.h1
-rw-r--r--src/nvim/sign_defs.h2
-rw-r--r--src/nvim/spell.h2
-rw-r--r--src/nvim/spellfile.h1
-rw-r--r--src/nvim/tag.h3
6 files changed, 9 insertions, 5 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index 9e9e9b6026..691f230b6e 100644
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -436,12 +436,7 @@ set(NO_SINGLE_CHECK_HEADERS
os_unix.h
os/win_defs.h
regexp_defs.h
- sha256.h
- sign_defs.h
- spell.h
- spellfile.h
syntax_defs.h
- tag.h
terminal.h
tui/tui.h
undo.h
diff --git a/src/nvim/sha256.h b/src/nvim/sha256.h
index a118826542..deb881a288 100644
--- a/src/nvim/sha256.h
+++ b/src/nvim/sha256.h
@@ -2,6 +2,7 @@
#define NVIM_SHA256_H
#include <stdint.h> // for uint32_t
+#include <stddef.h>
#include "nvim/types.h" // for char_u
diff --git a/src/nvim/sign_defs.h b/src/nvim/sign_defs.h
index 7288a48e21..3778f4287e 100644
--- a/src/nvim/sign_defs.h
+++ b/src/nvim/sign_defs.h
@@ -1,6 +1,8 @@
#ifndef NVIM_SIGN_DEFS_H
#define NVIM_SIGN_DEFS_H
+#include "nvim/pos.h"
+
// signs: line annotations
typedef struct signlist signlist_T;
diff --git a/src/nvim/spell.h b/src/nvim/spell.h
index e950644a6d..ad66df4c5d 100644
--- a/src/nvim/spell.h
+++ b/src/nvim/spell.h
@@ -4,6 +4,8 @@
#include <stdbool.h>
#include "nvim/spell_defs.h"
+#include "nvim/ex_cmds_defs.h"
+#include "nvim/globals.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "spell.h.generated.h"
diff --git a/src/nvim/spellfile.h b/src/nvim/spellfile.h
index 89acddda0d..633ee014a7 100644
--- a/src/nvim/spellfile.h
+++ b/src/nvim/spellfile.h
@@ -5,6 +5,7 @@
#include "nvim/spell_defs.h"
#include "nvim/types.h"
+#include "nvim/ex_cmds_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "spellfile.h.generated.h"
diff --git a/src/nvim/tag.h b/src/nvim/tag.h
index 5d4bcddf94..a8fddd05da 100644
--- a/src/nvim/tag.h
+++ b/src/nvim/tag.h
@@ -1,6 +1,9 @@
#ifndef NVIM_TAG_H
#define NVIM_TAG_H
+#include "nvim/types.h"
+#include "nvim/ex_cmds_defs.h"
+
/*
* Values for do_tag().
*/