summaryrefslogtreecommitdiffstats
path: root/include/xyzModem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xyzModem.h')
-rw-r--r--include/xyzModem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xyzModem.h b/include/xyzModem.h
index 4ec10b5a37..f437bbd0bd 100644
--- a/include/xyzModem.h
+++ b/include/xyzModem.h
@@ -97,7 +97,10 @@ typedef struct {
#endif
} connection_info_t;
+#ifndef BOOL_WAS_DEFINED
+#define BOOL_WAS_DEFINED
typedef unsigned int bool;
+#endif
#define false 0
#define true 1
OpenPOWER on IntegriCloud