about summary refs log tree commit diff
path: root/login
diff options
context:
space:
mode:
Diffstat (limited to 'login')
-rw-r--r--login/login_tty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/login/login_tty.c b/login/login_tty.c
index e4e075c6ed..2959457c07 100644
--- a/login/login_tty.c
+++ b/login/login_tty.c
@@ -39,6 +39,7 @@ static char sccsid[] = "@(#)login_tty.c	8.1 (Berkeley) 6/4/93";
 #include <sys/ioctl.h>
 #include <unistd.h>
 #include <fcntl.h>
+#include <utmp.h>
 
 int
 login_tty(fd)