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:
Karel Zak 2011-03-31 11:39:01 +02:00
parent b192b7b9a6
commit f0fc846a53
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@
#include "pathnames.h"
#include "login.h"
#include "strutils.h"
#include "c.h"
#ifndef TTY_MAJOR
#define TTY_MAJOR 4