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
_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface