From 223f0c5d1304dd6295c77313fb6bd0c156755b62 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Wed, 13 Jul 2022 22:09:07 -0400 Subject: [PATCH] fix compilation error Signed-off-by: Rui Chen --- src/tty.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tty.c b/src/tty.c index e8696c6..4d17c98 100644 --- a/src/tty.c +++ b/src/tty.c @@ -57,6 +57,10 @@ #define PATH_SERIAL_DEVICES "/dev/serial/by-id/" #endif +#ifndef CMSPAR +#define CMSPAR 010000000000 +#endif + bool interactive_mode = true; static struct termios tio, tio_old, stdout_new, stdout_old, stdin_new, stdin_old;