login: fix checktty test to compile with old glibc
Reported-by: "Gabor Z. Papp" <gzp@papp.hu> Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
b192b7b9a6
commit
f0fc846a53
|
@ -33,6 +33,7 @@
|
|||
#include "pathnames.h"
|
||||
#include "login.h"
|
||||
#include "strutils.h"
|
||||
#include "c.h"
|
||||
|
||||
#ifndef TTY_MAJOR
|
||||
#define TTY_MAJOR 4
|
||||
|
|
Loading…
Reference in New Issue