summaryrefslogtreecommitdiff
path: root/libexec/getty
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-03-29 20:35:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-03-29 20:35:56 +0000
commite4c0e947dbe19d4bc8d44106ddb3a9a71bafeeb0 (patch)
treeb464e17815acd21bff7a48b4c1cea193ea7e5800 /libexec/getty
parent20e1371940045cafaa98a711d6e48f46c7cee991 (diff)
-Wall
Diffstat (limited to 'libexec/getty')
-rw-r--r--libexec/getty/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/getty/main.c b/libexec/getty/main.c
index 577b62a2b3e..0be925d9084 100644
--- a/libexec/getty/main.c
+++ b/libexec/getty/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.21 2002/02/16 21:27:30 millert Exp $ */
+/* $OpenBSD: main.c,v 1.22 2002/03/29 20:35:55 deraadt Exp $ */
/*-
* Copyright (c) 1980, 1993
@@ -41,7 +41,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93";*/
-static char rcsid[] = "$OpenBSD: main.c,v 1.21 2002/02/16 21:27:30 millert Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.22 2002/03/29 20:35:55 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -59,6 +59,7 @@ static char rcsid[] = "$OpenBSD: main.c,v 1.21 2002/02/16 21:27:30 millert Exp $
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
+#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include <util.h>