Fix compile errors on Mac

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-09-04 10:43:37 -07:00
parent ad4bcffa23
commit 9c7d1102d4
2 changed files with 1 additions and 3 deletions

View File

@ -68,8 +68,6 @@
#define UNSUPPORTED 0xFFFFFFFF #define UNSUPPORTED 0xFFFFFFFF
typedef struct hw_ostc_parser_t hw_ostc_parser_t;
typedef struct hw_ostc_sample_info_t { typedef struct hw_ostc_sample_info_t {
unsigned int type; unsigned int type;
unsigned int divisor; unsigned int divisor;

View File

@ -28,7 +28,7 @@
extern "C" { extern "C" {
#endif /* __cplusplus */ #endif /* __cplusplus */
typedef struct serial_t serial_t; #include <libdivecomputer/custom_serial.h>
typedef enum serial_parity_t { typedef enum serial_parity_t {
SERIAL_PARITY_NONE, SERIAL_PARITY_NONE,