summaryrefslogtreecommitdiff
path: root/regress/sys/kern/pwritev
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-09-02 23:52:18 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-09-02 23:52:18 +0000
commitbe301350bdab2bb82238278aa09fa4d92b194b27 (patch)
tree8ba21671cb64d36c0a7d76ffbccb09bc139516fa /regress/sys/kern/pwritev
parent9b09e7650f65721c3cb81403d85f0d3a47bba08e (diff)
add missing includes
ok deraadt@ tedu@ dhartmei@ krw@
Diffstat (limited to 'regress/sys/kern/pwritev')
-rw-r--r--regress/sys/kern/pwritev/pwritev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/sys/kern/pwritev/pwritev.c b/regress/sys/kern/pwritev/pwritev.c
index 31871565a46..6012869cc7d 100644
--- a/regress/sys/kern/pwritev/pwritev.c
+++ b/regress/sys/kern/pwritev/pwritev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwritev.c,v 1.2 2003/07/31 21:48:09 deraadt Exp $ */
+/* $OpenBSD: pwritev.c,v 1.3 2003/09/02 23:52:17 david Exp $ */
/*
* Written by Artur Grabowski <art@openbsd.org> 2002 Public Domain.
*/
@@ -6,6 +6,7 @@
#include <sys/uio.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <err.h>
#include <fcntl.h>