Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libp2k Don't include <sys/vnode.h> to get the pager cons...
details: https://anonhg.NetBSD.org/src/rev/b36503273bbb
branches: trunk
changeset: 813286:b36503273bbb
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 23 16:39:31 2016 +0000
description:
Don't include <sys/vnode.h> to get the pager constants.
diffstat:
lib/libp2k/p2k.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 323cc9457b83 -r b36503273bbb lib/libp2k/p2k.c
--- a/lib/libp2k/p2k.c Sat Jan 23 16:12:03 2016 +0000
+++ b/lib/libp2k/p2k.c Sat Jan 23 16:39:31 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: p2k.c,v 1.66 2015/04/20 23:03:07 riastradh Exp $ */
+/* $NetBSD: p2k.c,v 1.67 2016/01/23 16:39:31 christos Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Antti Kantee. All Rights Reserved.
@@ -46,7 +46,6 @@
#include <sys/cdefs.h>
#include <sys/mount.h>
#include <sys/param.h>
-#include <sys/vnode.h>
#include <sys/lock.h>
#include <sys/namei.h>
#include <sys/dirent.h>
@@ -62,6 +61,8 @@
#include <rump/p2k.h>
#include <rump/ukfs.h>
+#include <uvm/uvm_pager.h>
+
/* NetBSD-5 compat */
#ifndef MOUNT_RUMPFS
#define MOUNT_RUMPFS "rumpfs"
Home |
Main Index |
Thread Index |
Old Index