summaryrefslogtreecommitdiff
path: root/usr.bin/finger
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-07-10 00:06:53 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-07-10 00:06:53 +0000
commitff1eebe32bb029e20710e7ca1756911d42d46fbf (patch)
tree009ea3b0cb6633dd34add944159e34a4915266d3 /usr.bin/finger
parent6c3b78320db59d66733755dd77e5d095dec46f61 (diff)
add missing includes
ok deraadt@ tedu@
Diffstat (limited to 'usr.bin/finger')
-rw-r--r--usr.bin/finger/sprint.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/finger/sprint.c b/usr.bin/finger/sprint.c
index 26428046f19..de1ae9d2272 100644
--- a/usr.bin/finger/sprint.c
+++ b/usr.bin/finger/sprint.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sprint.c,v 1.8 2003/06/10 22:20:46 deraadt Exp $ */
+/* $OpenBSD: sprint.c,v 1.9 2003/07/10 00:06:50 david Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -34,7 +34,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)sprint.c 5.8 (Berkeley) 12/4/90";*/
-static char rcsid[] = "$OpenBSD: sprint.c,v 1.8 2003/06/10 22:20:46 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: sprint.c,v 1.9 2003/07/10 00:06:50 david Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -42,6 +42,7 @@ static char rcsid[] = "$OpenBSD: sprint.c,v 1.8 2003/06/10 22:20:46 deraadt Exp
#include <tzfile.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <err.h>
#include "finger.h"
#include "extern.h"