On 26 August 2014 20:56, Salvo 'LtWorf' Tomaselli <[email protected]> wrote: > Since the header uses bool type, it is necessary to include it when compiling > in C and not C++ > --- > save-html.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/save-html.h b/save-html.h > index f47ae3b..ba26019 100644 > --- a/save-html.h > +++ b/save-html.h > @@ -3,6 +3,8 @@ > > #ifdef __cplusplus > extern "C" { > +#else > +#include <stdbool.h> > #endif > > #include "dive.h" > -- > 2.1.0 >
hello, this should not be needed as stdbool is already included from dive.h. does a compiler complains about that? lubomir -- _______________________________________________ subsurface mailing list [email protected] http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
