summaryrefslogtreecommitdiff
path: root/regress/sys/kern/mmap3
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-08-02 01:24:38 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-08-02 01:24:38 +0000
commitbb9c508606ec678987fdff045b51692b9a94fff4 (patch)
treedfb3b2df3f049059ee009ffa0ffcaa281ffa8b7b /regress/sys/kern/mmap3
parent23c48bb9313c4f573d08c508b80f786d2436fa3f (diff)
add missing includes
ok deraadt@ tedu@
Diffstat (limited to 'regress/sys/kern/mmap3')
-rw-r--r--regress/sys/kern/mmap3/mmaptest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/sys/kern/mmap3/mmaptest.c b/regress/sys/kern/mmap3/mmaptest.c
index 0a2526e8004..19506736b72 100644
--- a/regress/sys/kern/mmap3/mmaptest.c
+++ b/regress/sys/kern/mmap3/mmaptest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mmaptest.c,v 1.3 2003/07/31 21:48:08 deraadt Exp $ */
+/* $OpenBSD: mmaptest.c,v 1.4 2003/08/02 01:24:36 david Exp $ */
/*
* Copyright (c) 2002 Marc Espie.
*
@@ -30,6 +30,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <err.h>
+#include <unistd.h>
/*
* Check for mmap/ftruncate interaction. Specifically, ftruncate on