summaryrefslogtreecommitdiffstats
path: root/subsurfacestartup.h
diff options
context:
space:
mode:
Diffstat (limited to 'subsurfacestartup.h')
-rw-r--r--subsurfacestartup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/subsurfacestartup.h b/subsurfacestartup.h
index e5d7750f7..b09556fa1 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;