diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-11-24 11:51:13 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-24 07:56:10 -0800 |
commit | f3c06279f1d0c76384dd0f30617a603cf9ea3a76 (patch) | |
tree | 47e44609b63e480ff8211c4444fe6c50d8068c4b /core/pref.h | |
parent | bd8830672269297f7030670e10f2191ac824093f (diff) | |
download | subsurface-f3c06279f1d0c76384dd0f30617a603cf9ea3a76.tar.gz |
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 <sfuchs@gmx.de>
Diffstat (limited to 'core/pref.h')
-rw-r--r-- | core/pref.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <stdbool.h> #endif #include "units.h" |