Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm Add some missing includes to uvm_device.h.



details:   https://anonhg.NetBSD.org/src/rev/1a0496882cf4
branches:  trunk
changeset: 1027747:1a0496882cf4
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Dec 18 16:31:53 2021 +0000

description:
Add some missing includes to uvm_device.h.

- sys/types.h for dev_t
- sys/queue.h for LIST_ENTRY
- uvm/uvm_object.h for complete struct uvm_object type
- uvm/uvm_param.h for voff_t/vsize_t
- uvm/uvm_prot.h for vm_prot_t

diffstat:

 sys/uvm/uvm_device.h |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r d91ee8fb0ffc -r 1a0496882cf4 sys/uvm/uvm_device.h
--- a/sys/uvm/uvm_device.h      Sat Dec 18 16:31:40 2021 +0000
+++ b/sys/uvm/uvm_device.h      Sat Dec 18 16:31:53 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_device.h,v 1.14 2020/09/05 16:30:13 riastradh Exp $        */
+/*     $NetBSD: uvm_device.h,v 1.15 2021/12/18 16:31:53 riastradh Exp $        */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -30,6 +30,13 @@
 #ifndef _UVM_UVM_DEVICE_H_
 #define _UVM_UVM_DEVICE_H_
 
+#include <sys/types.h>
+#include <sys/queue.h>
+
+#include <uvm/uvm_object.h>
+#include <uvm/uvm_param.h>
+#include <uvm/uvm_prot.h>
+
 /*
  * uvm_device.h
  *



Home | Main Index | Thread Index | Old Index