summaryrefslogtreecommitdiffstats
path: root/core/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/device.h')
-rw-r--r--core/device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/device.h b/core/device.h
index 262829987..c1e767bee 100644
--- a/core/device.h
+++ b/core/device.h
@@ -2,10 +2,13 @@
#ifndef DEVICE_H
#define DEVICE_H
+#include <stdint.h>
+
#ifdef __cplusplus
extern "C" {
#endif
+struct divecomputer;
extern void fake_dc(struct divecomputer *dc);
extern void set_dc_deviceid(struct divecomputer *dc, unsigned int deviceid);
extern void create_device_node(const char *model, uint32_t deviceid, const char *serial, const char *firmware, const char *nickname);