summaryrefslogtreecommitdiff
path: root/usr.bin/last
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2009-05-01 10:38:18 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2009-05-01 10:38:18 +0000
commit39080a5f70639573ca52b8540e3eacba6ac50eda (patch)
treef19b29b7db21d845eeb822aa0977915ce60f90fd /usr.bin/last
parent994d40ada438cd335772e7020e1b74c088572aff (diff)
add missing header needed by isdigit()
ok otto@ millert@ gilles@
Diffstat (limited to 'usr.bin/last')
-rw-r--r--usr.bin/last/last.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c
index 4d6157d6930..d8aff1877ac 100644
--- a/usr.bin/last/last.c
+++ b/usr.bin/last/last.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: last.c,v 1.34 2006/10/27 07:16:25 jmc Exp $ */
+/* $OpenBSD: last.c,v 1.35 2009/05/01 10:38:17 chl Exp $ */
/* $NetBSD: last.c,v 1.6 1994/12/24 16:49:02 cgd Exp $ */
/*
@@ -40,12 +40,13 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)last.c 8.2 (Berkeley) 4/2/94";
#endif
-static char rcsid[] = "$OpenBSD: last.c,v 1.34 2006/10/27 07:16:25 jmc Exp $";
+static char rcsid[] = "$OpenBSD: last.c,v 1.35 2009/05/01 10:38:17 chl Exp $";
#endif /* not lint */
#include <sys/param.h>
#include <sys/stat.h>
+#include <ctype.h>
#include <err.h>
#include <fcntl.h>
#include <paths.h>