From 479bd26d35bf1921241da7b38139202f15ff6532 Mon Sep 17 00:00:00 2001 From: Sean Murphy Date: Fri, 9 Oct 2020 12:29:49 -0700 Subject: [PATCH] Make can_common.h unit test compatible --- src/can_common.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/can_common.h b/src/can_common.h index b170064..14ab987 100644 --- a/src/can_common.h +++ b/src/can_common.h @@ -1,7 +1,13 @@ #ifndef _CAN_COMMON_ #define _CAN_COMMON_ +#ifndef UNIT_TEST #include +#else +#include +#include +typedef bool boolean; +#endif /** Define the typical baudrate for CAN communication. */ #ifdef CAN_BPS_500K