aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os
diff options
context:
space:
mode:
authorPavel Platto <hinidu@gmail.com>2014-07-09 10:17:21 +0300
committerJustin M. Keyes <justinkz@gmail.com>2014-07-11 18:33:07 -0400
commitadd8cb784c134f27d4100ee7c3334c2648522987 (patch)
tree9856e515c7a69c9a45fef456416f064dc2718444 /src/nvim/os
parent1de9287a024801effa292b877492ab76210223b0 (diff)
downloadrneovim-add8cb784c134f27d4100ee7c3334c2648522987.tar.gz
rneovim-add8cb784c134f27d4100ee7c3334c2648522987.tar.bz2
rneovim-add8cb784c134f27d4100ee7c3334c2648522987.zip
Include stdbool.h in headers which have functions with bool in signature
Done by manual inspecting of the output of this script: grep -r -l -w "bool" * | grep 'c$' | sed 's/.c$//' > has_bool grep -r -l -w "stdbool.h" * | grep 'h$' | sed 's/.h$//' > has_include grep -F -x -v -f has_include has_bool
Diffstat (limited to 'src/nvim/os')
-rw-r--r--src/nvim/os/channel.h1
-rw-r--r--src/nvim/os/os.h2
2 files changed, 3 insertions, 0 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/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"