diff options
Diffstat (limited to 'core/libdivecomputer.h')
-rw-r--r-- | core/libdivecomputer.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/libdivecomputer.h b/core/libdivecomputer.h index d3aafc87b..aba02a226 100644 --- a/core/libdivecomputer.h +++ b/core/libdivecomputer.h @@ -2,6 +2,7 @@ #ifndef LIBDIVECOMPUTER_H #define LIBDIVECOMPUTER_H +#include <stdint.h> /* libdivecomputer */ @@ -18,12 +19,15 @@ #define dc_usb_storage_open(stream, context, devname) (DC_STATUS_UNSUPPORTED) #endif -#include "dive.h" - #ifdef __cplusplus extern "C" { +#else +#include <stdbool.h> #endif +struct dive; +struct dive_computer; + typedef struct dc_user_device_t { dc_descriptor_t *descriptor; |