aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api
diff options
context:
space:
mode:
authorNicolas Hillegeer <nicolas@hillegeer.com>2014-07-09 00:20:38 +0200
committerNicolas Hillegeer <nicolas@hillegeer.com>2014-07-09 00:20:38 +0200
commitef70d7ccf71c5d0b00f02be9a9aee879f26e8355 (patch)
tree28fd8cb3a8625c35960e6a8fb474962b15c3f611 /src/nvim/api
parenta568e8b644a41b12388b7c7de4ca0fb8dc107f18 (diff)
parent0fff487690803be45b185ca165e12b470fa0466e (diff)
downloadrneovim-ef70d7ccf71c5d0b00f02be9a9aee879f26e8355.tar.gz
rneovim-ef70d7ccf71c5d0b00f02be9a9aee879f26e8355.tar.bz2
rneovim-ef70d7ccf71c5d0b00f02be9a9aee879f26e8355.zip
Merge #921 'Remove includes vim.h'
Diffstat (limited to 'src/nvim/api')
-rw-r--r--src/nvim/api/buffer.c1
-rw-r--r--src/nvim/api/private/handle.c1
-rw-r--r--src/nvim/api/private/helpers.c2
-rw-r--r--src/nvim/api/vim.c3
4 files changed, 6 insertions, 1 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c
index 034ced184a..913491c6ca 100644
--- a/src/nvim/api/buffer.c
+++ b/src/nvim/api/buffer.c
@@ -1,5 +1,6 @@
// Much of this code was adapted from 'if_py_both.h' from the original
// vim source
+#include <errno.h>
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/nvim/api/private/handle.c b/src/nvim/api/private/handle.c
index 035162c5f6..4c0b01ddd7 100644
--- a/src/nvim/api/private/handle.c
+++ b/src/nvim/api/private/handle.c
@@ -1,3 +1,4 @@
+#include <assert.h>
#include <stdint.h>
#include "nvim/vim.h"
diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c
index 024f0c2405..839a06c29f 100644
--- a/src/nvim/api/private/helpers.c
+++ b/src/nvim/api/private/helpers.c
@@ -1,3 +1,4 @@
+#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
@@ -5,6 +6,7 @@
#include "nvim/api/private/helpers.h"
#include "nvim/api/private/defs.h"
#include "nvim/api/private/handle.h"
+#include "nvim/ascii.h"
#include "nvim/vim.h"
#include "nvim/buffer.h"
#include "nvim/window.h"
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 0a5dfdf337..03b9257d79 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -1,9 +1,11 @@
+#include <assert.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include "nvim/api/vim.h"
+#include "nvim/ascii.h"
#include "nvim/api/private/helpers.h"
#include "nvim/api/private/defs.h"
#include "nvim/api/buffer.h"
@@ -12,7 +14,6 @@
#include "nvim/buffer.h"
#include "nvim/window.h"
#include "nvim/types.h"
-#include "nvim/ascii.h"
#include "nvim/ex_docmd.h"
#include "nvim/screen.h"
#include "nvim/memory.h"