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
This commit is contained in:
riastradh 2021-12-18 16:31:53 +00:00
parent 320c35550b
commit 514549b5d8
1 changed files with 8 additions and 1 deletions

View File

@ -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
*