summaryrefslogtreecommitdiff
path: root/regress/sys/kern
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2004-12-22 00:54:40 +0000
committerDavid Krause <david@cvs.openbsd.org>2004-12-22 00:54:40 +0000
commit4ec0681c2ee00ce756f3230d9f785f3fb8827dd0 (patch)
tree4a64fee53cb6c0c3a7ae471c54ce863da2589db6 /regress/sys/kern
parentc0afd6fbcc0d6e9b817627f162362d6dd27b5923 (diff)
some -Wimplicit-function-declaration cleaning; ok millert@
Diffstat (limited to 'regress/sys/kern')
-rw-r--r--regress/sys/kern/ptmget/ptmget.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/sys/kern/ptmget/ptmget.c b/regress/sys/kern/ptmget/ptmget.c
index 943e2c4f0c3..24fb09b730f 100644
--- a/regress/sys/kern/ptmget/ptmget.c
+++ b/regress/sys/kern/ptmget/ptmget.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ptmget.c,v 1.1 2004/01/18 20:56:22 beck Exp $ */
+/* $OpenBSD: ptmget.c,v 1.2 2004/12/22 00:54:39 david Exp $ */
/*
* Written by Bob Beck <beck@openbsd.org> 2004 Public Domain.
* Basic test to ensure /dev/ptm works, and what it returns
@@ -8,8 +8,10 @@
#include <fcntl.h>
#include <grp.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
+#include <sys/ioctl.h>
#include <sys/tty.h>
#include <sys/types.h>
#include <sys/stat.h>