diff --git a/src/code/unix-glibc2.lisp b/src/code/unix-glibc2.lisp
index 3170aaec24bf2be62785d638bee51a674d0946fa..c35ff936f4d758390057603ca3d8a073414493da 100644
--- a/src/code/unix-glibc2.lisp
+++ b/src/code/unix-glibc2.lisp
@@ -1811,6 +1811,10 @@
 
 ;;; termios.h
 
+(defconstant terminal-speeds
+  '#(0 50 75 110 134 150 200 300 600 1200 1800 2400
+     4800 9600 19200 38400 57600 115200 230400))
+
 (defun unix-cfgetospeed (termios)
   _N"Get terminal output speed."
   (multiple-value-bind (speed errno)