summaryrefslogtreecommitdiff
path: root/regress/sys/kern/mmap3/mmaptest.c
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/mmap3/mmaptest.c')
-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