From: Karel Zak Date: Thu, 31 Mar 2011 09:39:01 +0000 (+0200) Subject: login: fix checktty test to compile with old glibc X-Git-Tag: v2.20-rc1~406 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0fc846a532befa1c37e2da97ecb97fe2031c26d;p=thirdparty%2Futil-linux.git login: fix checktty test to compile with old glibc Reported-by: "Gabor Z. Papp" Signed-off-by: Karel Zak --- diff --git a/login-utils/checktty.c b/login-utils/checktty.c index 264cc6033c..f849057169 100644 --- a/login-utils/checktty.c +++ b/login-utils/checktty.c @@ -33,6 +33,7 @@ #include "pathnames.h" #include "login.h" #include "strutils.h" +#include "c.h" #ifndef TTY_MAJOR #define TTY_MAJOR 4