From 9c7d1102d4c9da5d4db899e5425d149e171e22fe Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 4 Sep 2015 10:43:37 -0700 Subject: [PATCH] Fix compile errors on Mac Signed-off-by: Dirk Hohndel --- src/hw_ostc_parser.c | 2 -- src/serial.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hw_ostc_parser.c b/src/hw_ostc_parser.c index 6db9d27..fe90f5d 100644 --- a/src/hw_ostc_parser.c +++ b/src/hw_ostc_parser.c @@ -68,8 +68,6 @@ #define UNSUPPORTED 0xFFFFFFFF -typedef struct hw_ostc_parser_t hw_ostc_parser_t; - typedef struct hw_ostc_sample_info_t { unsigned int type; unsigned int divisor; diff --git a/src/serial.h b/src/serial.h index 5a9d8ea..56d20c0 100644 --- a/src/serial.h +++ b/src/serial.h @@ -28,7 +28,7 @@ extern "C" { #endif /* __cplusplus */ -typedef struct serial_t serial_t; +#include typedef enum serial_parity_t { SERIAL_PARITY_NONE,