summaryrefslogtreecommitdiff
path: root/Modules/termios.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/termios.c')
-rw-r--r--Modules/termios.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/termios.c b/Modules/termios.c
index 3aa8423977..1d5e20b3bd 100644
--- a/Modules/termios.c
+++ b/Modules/termios.c
@@ -324,8 +324,12 @@ static struct constant {
{"B9600", B9600},
{"B19200", B19200},
{"B38400", B38400},
+#ifdef B57600
{"B57600", B57600},
+#endif
+#ifdef B115200
{"B115200", B115200},
+#endif
#ifdef B230400
{"B230400", B230400},
#endif