aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlo Abelli <carlo.abelli@gmail.com>2017-05-08 09:08:12 -0400
committerJustin M. Keyes <justinkz@gmail.com>2017-05-08 15:08:12 +0200
commitaace622ca5ffe4deb72989452dc60877304d71aa (patch)
tree11ce4c2155f6da2e06a665d2fc829ac12d01c42e
parenta9605bb4aff76a934a4c39fbda093ee8fc8a1c71 (diff)
downloadrneovim-aace622ca5ffe4deb72989452dc60877304d71aa.tar.gz
rneovim-aace622ca5ffe4deb72989452dc60877304d71aa.tar.bz2
rneovim-aace622ca5ffe4deb72989452dc60877304d71aa.zip
refactor/single-include (#6687)
-rw-r--r--src/nvim/CMakeLists.txt4
-rw-r--r--src/nvim/msgpack_rpc/server.h2
-rw-r--r--src/nvim/os/shell.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index 170dd16b02..f69781a539 100644
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -429,10 +429,6 @@ function(get_test_target prefix sfile relative_path_var target_var)
endfunction()
set(NO_SINGLE_CHECK_HEADERS
- misc2.h
- msgpack_rpc/server.h
- os/shell.h
- os_unix.h
os/win_defs.h
regexp_defs.h
syntax_defs.h
diff --git a/src/nvim/msgpack_rpc/server.h b/src/nvim/msgpack_rpc/server.h
index f1a6703938..5446e40e0b 100644
--- a/src/nvim/msgpack_rpc/server.h
+++ b/src/nvim/msgpack_rpc/server.h
@@ -1,6 +1,8 @@
#ifndef NVIM_MSGPACK_RPC_SERVER_H
#define NVIM_MSGPACK_RPC_SERVER_H
+#include <stdio.h>
+
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "msgpack_rpc/server.h.generated.h"
#endif
diff --git a/src/nvim/os/shell.h b/src/nvim/os/shell.h
index 58960db157..48503f2601 100644
--- a/src/nvim/os/shell.h
+++ b/src/nvim/os/shell.h
@@ -1,6 +1,8 @@
#ifndef NVIM_OS_SHELL_H
#define NVIM_OS_SHELL_H
+#include <stdio.h>
+
#include "nvim/types.h"
// Flags for os_call_shell() second argument