summaryrefslogtreecommitdiff
path: root/login-utils
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-02-15 18:46:45 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-02-15 23:29:33 +0400
commit5417902ea2700f87fcf58b54df7716d0c81cd51e (patch)
tree3d6e0eef75b33f3aba1e331cf4a98ba7d18960b2 /login-utils
parent60ec79be01a143886b3f3779d2a8996b1a5820a7 (diff)
downloadutil-linux-5417902ea2700f87fcf58b54df7716d0c81cd51e.tar.gz
Ensure TTYDEF_SPEED is defined
Diffstat (limited to 'login-utils')
-rw-r--r--login-utils/sulogin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/login-utils/sulogin.c b/login-utils/sulogin.c
index 37d006dd..f3df90a6 100644
--- a/login-utils/sulogin.c
+++ b/login-utils/sulogin.c
@@ -49,6 +49,10 @@
# include <selinux/get_context_list.h>
#endif
+#ifndef TTYDEF_SPEED
+#define TTYDEF_SPEED 0xD000 /* 9600 baud */
+#endif
+
#include "c.h"
#include "closestream.h"
#include "nls.h"