summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2014-03-18 08:51:53 +0000
committermpi <mpi@openbsd.org>2014-03-18 08:51:53 +0000
commit4bc91def0220cd2ab845c8b88429fd24a727a58f (patch)
treed6184c1ebd513fd5576289e19d6353cae8f0745b /sys
parentAdd missing parts of the tiic driver. (diff)
downloadwireguard-openbsd-4bc91def0220cd2ab845c8b88429fd24a727a58f.tar.xz
wireguard-openbsd-4bc91def0220cd2ab845c8b88429fd24a727a58f.zip
Do not rely on the fact that sys/vnode.h includes all the world
through uvm/uvm.h and add proper includes for function definitions. ok syl@
Diffstat (limited to 'sys')
-rw-r--r--sys/miscfs/fuse/fuse_device.c3
-rw-r--r--sys/miscfs/fuse/fuse_file.c3
-rw-r--r--sys/miscfs/fuse/fuse_lookup.c3
-rw-r--r--sys/miscfs/fuse/fuse_vnops.c3
4 files changed, 8 insertions, 4 deletions
diff --git a/sys/miscfs/fuse/fuse_device.c b/sys/miscfs/fuse/fuse_device.c
index 7c3b33aa6f7..5df831229d0 100644
--- a/sys/miscfs/fuse/fuse_device.c
+++ b/sys/miscfs/fuse/fuse_device.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fuse_device.c,v 1.13 2014/01/16 10:36:33 syl Exp $ */
+/* $OpenBSD: fuse_device.c,v 1.14 2014/03/18 08:51:53 mpi Exp $ */
/*
* Copyright (c) 2012-2013 Sylvestre Gallon <ccna.syl@gmail.com>
*
@@ -16,6 +16,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/malloc.h>
diff --git a/sys/miscfs/fuse/fuse_file.c b/sys/miscfs/fuse/fuse_file.c
index f91696ffd77..bbba4e34ca9 100644
--- a/sys/miscfs/fuse/fuse_file.c
+++ b/sys/miscfs/fuse/fuse_file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fuse_file.c,v 1.7 2014/01/20 15:26:52 syl Exp $ */
+/* $OpenBSD: fuse_file.c,v 1.8 2014/03/18 08:51:53 mpi Exp $ */
/*
* Copyright (c) 2012-2013 Sylvestre Gallon <ccna.syl@gmail.com>
*
@@ -16,6 +16,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/statvfs.h>
#include <sys/vnode.h>
#include <sys/fusebuf.h>
diff --git a/sys/miscfs/fuse/fuse_lookup.c b/sys/miscfs/fuse/fuse_lookup.c
index 1af2144d003..74b19d8d025 100644
--- a/sys/miscfs/fuse/fuse_lookup.c
+++ b/sys/miscfs/fuse/fuse_lookup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fuse_lookup.c,v 1.8 2014/02/01 09:30:38 syl Exp $ */
+/* $OpenBSD: fuse_lookup.c,v 1.9 2014/03/18 08:51:53 mpi Exp $ */
/*
* Copyright (c) 2012-2013 Sylvestre Gallon <ccna.syl@gmail.com>
*
@@ -16,6 +16,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/mount.h>
#include <sys/namei.h>
#include <sys/statvfs.h>
diff --git a/sys/miscfs/fuse/fuse_vnops.c b/sys/miscfs/fuse/fuse_vnops.c
index 43053518dfc..803d00ffb35 100644
--- a/sys/miscfs/fuse/fuse_vnops.c
+++ b/sys/miscfs/fuse/fuse_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fuse_vnops.c,v 1.15 2014/02/01 09:30:38 syl Exp $ */
+/* $OpenBSD: fuse_vnops.c,v 1.16 2014/03/18 08:51:53 mpi Exp $ */
/*
* Copyright (c) 2012-2013 Sylvestre Gallon <ccna.syl@gmail.com>
*
@@ -16,6 +16,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/dirent.h>
#include <sys/fcntl.h>
#include <sys/lockf.h>