]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
login: fix checktty test to compile with old glibc
authorKarel Zak <kzak@redhat.com>
Thu, 31 Mar 2011 09:39:01 +0000 (11:39 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 31 Mar 2011 09:39:01 +0000 (11:39 +0200)
Reported-by: "Gabor Z. Papp" <gzp@papp.hu>
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/checktty.c

index 264cc6033cc1a9e9ccceb4ea811a030ed238a6a9..f849057169144e7461717ec76cf551ac208482ef 100644 (file)
@@ -33,6 +33,7 @@
 #include "pathnames.h"
 #include "login.h"
 #include "strutils.h"
+#include "c.h"
 
 #ifndef TTY_MAJOR
 #define TTY_MAJOR 4