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 }