summaryrefslogtreecommitdiffstats
path: root/sys/nfs
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-11-03 21:28:35 +0000
committertedu <tedu@openbsd.org>2014-11-03 21:28:35 +0000
commit782ebdf8902fbe540cc1b971ad3ae76732171c58 (patch)
tree0a129625d9dbb3b26ad373e6fa4dac2331c4efb0 /sys/nfs
parentcorrect test logic. ok guenther (diff)
downloadwireguard-openbsd-782ebdf8902fbe540cc1b971ad3ae76732171c58.tar.xz
wireguard-openbsd-782ebdf8902fbe540cc1b971ad3ae76732171c58.zip
include sys/unistd.h where needed instead of indirect reliance. ok jsg
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_serv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c
index 3704086d4ee..570fcb5453e 100644
--- a/sys/nfs/nfs_serv.c
+++ b/sys/nfs/nfs_serv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_serv.c,v 1.97 2014/07/12 18:43:52 tedu Exp $ */
+/* $OpenBSD: nfs_serv.c,v 1.98 2014/11/03 21:28:35 tedu Exp $ */
/* $NetBSD: nfs_serv.c,v 1.34 1997/05/12 23:37:12 fvdl Exp $ */
/*
@@ -70,6 +70,8 @@
#include <sys/kernel.h>
#include <sys/pool.h>
#include <sys/queue.h>
+#include <sys/unistd.h>
+
#include <ufs/ufs/dir.h>
#include <nfs/nfsproto.h>