mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Don't include stdbool.h when included from C++
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 <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2c8e8f8cec
commit
6014461181
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue