summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-09-19 19:59:16 +0000
committerRoland McGrath <roland@gnu.org>1999-09-19 19:59:16 +0000
commit8f79eed4594225520bc8877e0f36a5ff015fc796 (patch)
treed8c55618410946b4c39bc285e341328b0e1916f9 /daemons
parent082e3a3ef4d84f84a500405b4b6a143c7d477223 (diff)
1999-07-20 Roland McGrath <roland@baalperazim.frob.com>
* getty.c: Include <utmp.h> for login_tty decl.
Diffstat (limited to 'daemons')
-rw-r--r--daemons/getty.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/daemons/getty.c b/daemons/getty.c
index ce073d5e..e88810b5 100644
--- a/daemons/getty.c
+++ b/daemons/getty.c
@@ -1,5 +1,5 @@
/* Stubby version of getty for Hurd
- Copyright (C) 1996, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1998, 1999 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -29,12 +29,11 @@
#include <sys/utsname.h>
#include <stdlib.h>
#include <string.h>
+#include <utmp.h>
/* XXX */
-extern int login_tty (int);
extern char *localhost ();
-#define _PATH_DEV "/dev"
#define _PATH_LOGIN "/bin/login"
/* Print a suitable welcome banner */