As noted by Thiago Macieira, we shouldn't include stdbool.h when were included from a C++-file such as main.cpp
Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- subsurfacestartup.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subsurfacestartup.h b/subsurfacestartup.h index e5d7750..b09556f 100644 --- a/subsurfacestartup.h +++ b/subsurfacestartup.h @@ -4,10 +4,11 @@ #include "dive.h" #include "divelist.h" #include "libdivecomputer.h" -#include <stdbool.h> #ifdef __cplusplus extern "C" { +#else +#include <stdbool.h> #endif extern bool imported; -- 1.8.3.2 _______________________________________________ subsurface mailing list subsurface@hohndel.org http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface