summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2004-07-11 05:24:57 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2004-07-11 05:24:57 +0000
commit21f733ed809d7a631b1e242aa32a1892f720892f (patch)
tree4415ac2e4f61b63e73b6f846410837d9809138d1
parent16a53181f90b28d657e158d8056c129425482a77 (diff)
prototypes; ok deraadt
-rw-r--r--usr.bin/systat/keyboard.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/systat/keyboard.c b/usr.bin/systat/keyboard.c
index d02930efdd6..e467eed0907 100644
--- a/usr.bin/systat/keyboard.c
+++ b/usr.bin/systat/keyboard.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keyboard.c,v 1.15 2004/04/14 19:53:04 deraadt Exp $ */
+/* $OpenBSD: keyboard.c,v 1.16 2004/07/11 05:24:56 pvalchev Exp $ */
/* $NetBSD: keyboard.c,v 1.2 1995/01/20 08:51:59 jtc Exp $ */
/*-
@@ -34,12 +34,14 @@
#if 0
static char sccsid[] = "@(#)keyboard.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: keyboard.c,v 1.15 2004/04/14 19:53:04 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: keyboard.c,v 1.16 2004/07/11 05:24:56 pvalchev Exp $";
#endif /* not lint */
+#include <sys/types.h>
#include <ctype.h>
#include <signal.h>
#include <stdlib.h>
+#include <unistd.h>
#include <termios.h>
#include <errno.h>