From add8cb784c134f27d4100ee7c3334c2648522987 Mon Sep 17 00:00:00 2001 From: Pavel Platto Date: Wed, 9 Jul 2014 10:17:21 +0300 Subject: 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 --- src/nvim/os/channel.h | 1 + src/nvim/os/os.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src/nvim/os') 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 #include #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 #include #include "nvim/os/fs_defs.h" -- cgit