aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-07-11 18:35:01 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-07-11 18:35:01 -0400
commite47968537cfc958b991ff10c6be1dcda65cb95f0 (patch)
tree9856e515c7a69c9a45fef456416f064dc2718444 /src/nvim/os
parentcf18687349e2e97f2d0a4c9cb40e494c33516d37 (diff)
parentadd8cb784c134f27d4100ee7c3334c2648522987 (diff)
downloadrneovim-e47968537cfc958b991ff10c6be1dcda65cb95f0.tar.gz
rneovim-e47968537cfc958b991ff10c6be1dcda65cb95f0.tar.bz2
rneovim-e47968537cfc958b991ff10c6be1dcda65cb95f0.zip
Merge #927 'Fix stdbool.h usage'
Diffstat (limited to 'src/nvim/os')
-rw-r--r--src/nvim/os/channel.h1
-rw-r--r--src/nvim/os/event_defs.h2
-rw-r--r--src/nvim/os/msgpack_rpc.h1
-rw-r--r--src/nvim/os/os.h2
-rw-r--r--src/nvim/os/server.c1
-rw-r--r--src/nvim/os/shell.h1
6 files changed, 5 insertions, 3 deletions
diff --git a/src/nvim/os/channel.h b/src/nvim/os/channel.h
index ce04abb76d..bb409bfde9 100644
--- a/src/nvim/os/channel.h
+++ b/src/nvim/os/channel.h
@@ -1,6 +1,7 @@
#ifndef NVIM_OS_CHANNEL_H
#define NVIM_OS_CHANNEL_H
+#include <stdbool.h>
#include <uv.h>
#include "nvim/api/private/defs.h"
diff --git a/src/nvim/os/event_defs.h b/src/nvim/os/event_defs.h
index 983b70be97..ca2cabd75a 100644
--- a/src/nvim/os/event_defs.h
+++ b/src/nvim/os/event_defs.h
@@ -1,6 +1,8 @@
#ifndef NVIM_OS_EVENT_DEFS_H
#define NVIM_OS_EVENT_DEFS_H
+#include <stdbool.h>
+
#include "nvim/os/job_defs.h"
#include "nvim/os/rstream_defs.h"
diff --git a/src/nvim/os/msgpack_rpc.h b/src/nvim/os/msgpack_rpc.h
index e185db3dc2..5aca900d2e 100644
--- a/src/nvim/os/msgpack_rpc.h
+++ b/src/nvim/os/msgpack_rpc.h
@@ -2,7 +2,6 @@
#define NVIM_OS_MSGPACK_RPC_H
#include <stdint.h>
-#include <stdbool.h>
#include <msgpack.h>
diff --git a/src/nvim/os/os.h b/src/nvim/os/os.h
index ca8f7e8546..b6148e72bf 100644
--- a/src/nvim/os/os.h
+++ b/src/nvim/os/os.h
@@ -1,5 +1,7 @@
#ifndef NVIM_OS_OS_H
#define NVIM_OS_OS_H
+
+#include <stdbool.h>
#include <uv.h>
#include "nvim/os/fs_defs.h"
diff --git a/src/nvim/os/server.c b/src/nvim/os/server.c
index 6e77c6b334..b90e7e318b 100644
--- a/src/nvim/os/server.c
+++ b/src/nvim/os/server.c
@@ -1,7 +1,6 @@
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
-#include <stdbool.h>
#include <uv.h>
diff --git a/src/nvim/os/shell.h b/src/nvim/os/shell.h
index e912baedf8..a4c588d7a3 100644
--- a/src/nvim/os/shell.h
+++ b/src/nvim/os/shell.h
@@ -1,7 +1,6 @@
#ifndef NVIM_OS_SHELL_H
#define NVIM_OS_SHELL_H
-#include <stdbool.h>
#include "nvim/types.h"
// Flags for mch_call_shell() second argument