mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Include stdbool.h also from prefs.h if included from C file
Currently not mandatory in our code because we never include prefs.h from a C file today but for the future this could avoid confusion. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
bd88306722
commit
f3c06279f1
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#else
|
||||
#include <stdbool.h>
|
||||
#endif
|
||||
|
||||
#include "units.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue