From ff6480acbd513eef245e167378c25b4495c06d55 Mon Sep 17 00:00:00 2001 From: Scott Alfter Date: Wed, 28 Jun 2023 23:03:46 -0700 Subject: [PATCH] fixed for current libs...still need to compile with -std=c90 --- src/stty.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/stty.c b/src/stty.c index 4a67108..83b0118 100644 --- a/src/stty.c +++ b/src/stty.c @@ -11,6 +11,7 @@ #include "portable.h" #include "common.h" +#define __USE_MISC #if USE_STTY == TERMIO # include # include @@ -630,14 +631,14 @@ static struct bauds { { "B19200", 19200, B19200, }, { "19200", 19200, B19200, }, { "B38400", 38400, B38400, }, { "38400", 38400, B38400, }, {"EXTA", EXTA, EXTA}, - {"EXTB", EXTB, EXTB}, + {"EXTB", EXTB, EXTB}, { (char *) 0, 0, 0 } }; struct s_term_dat { char *name; - uint or_dat; - uint and_dat; + uint8_t or_dat; + uint8_t and_dat; }; #define FLAGS(X) { #X, X , 0 }, { "-" #X, 0, X }