From f3c06279f1d0c76384dd0f30617a603cf9ea3a76 Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Fri, 24 Nov 2017 11:51:13 +0100 Subject: Include stdbool.h also from prefs.h if included from C file Currently not mandatory in our code because we never include prefs.h from a C file today but for the future this could avoid confusion. Signed-off-by: Stefan Fuchs --- core/pref.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') diff --git a/core/pref.h b/core/pref.h index c4989e692..198d4b9fe 100644 --- a/core/pref.h +++ b/core/pref.h @@ -4,6 +4,8 @@ #ifdef __cplusplus extern "C" { +#else +#include #endif #include "units.h" -- cgit v1.2.3-70-g09d2