aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordedmass <carlo.abelli@gmail.com>2017-04-06 09:40:17 -0400
committerJustin M. Keyes <justinkz@gmail.com>2017-04-08 04:53:17 +0200
commit3fd9b70c485c55adb95848aa0e2c67bfb3db786a (patch)
tree189f42d2cd2737934da24da7c082a6b8dc62dbb9
parentfd69c3f561ea8862ce4b1ff67a5650acaf5f932d (diff)
downloadrneovim-3fd9b70c485c55adb95848aa0e2c67bfb3db786a.tar.gz
rneovim-3fd9b70c485c55adb95848aa0e2c67bfb3db786a.tar.bz2
rneovim-3fd9b70c485c55adb95848aa0e2c67bfb3db786a.zip
refactor/single-include: fold.h #6456
-rw-r--r--src/nvim/CMakeLists.txt1
-rw-r--r--src/nvim/fold.h5
2 files changed, 5 insertions, 1 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index 3d3d30081a..24a6ec8b5e 100644
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -425,7 +425,6 @@ endfunction()
set(NO_SINGLE_CHECK_HEADERS
file_search.h
- fold.h
getchar.h
hardcopy.h
if_cscope.h
diff --git a/src/nvim/fold.h b/src/nvim/fold.h
index 2ff10c0e91..2393f4ef47 100644
--- a/src/nvim/fold.h
+++ b/src/nvim/fold.h
@@ -1,7 +1,12 @@
#ifndef NVIM_FOLD_H
#define NVIM_FOLD_H
+#include <stdio.h> // for FILE
+
#include "nvim/pos.h"
+#include "nvim/garray.h" // for garray_T
+#include "nvim/types.h" // for char_u
+#include "nvim/buffer_defs.h" // for win_T
/*
* Info used to pass info about a fold from the fold-detection code to the