NetBSD-Bugs archive

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

Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled



On Feb 2,  2:20pm, nonakap%gmail.com@localhost (NONAKA Kimihiro) wrote:
-- Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled

|  It seems to include uvm_extern.h for struct uvmexp and struct uvmexp_sysctl.

Thanks,

Does this help?


Index: uvm_extern.h
===================================================================
RCS file: /cvsroot/src/sys/uvm/uvm_extern.h,v
retrieving revision 1.193
diff -u -u -r1.193 uvm_extern.h
--- uvm_extern.h        6 Feb 2015 18:19:22 -0000       1.193
+++ uvm_extern.h        2 Feb 2016 14:38:37 -0000
@@ -465,8 +465,10 @@
 #include <uvm/uvm_param.h>
 #include <uvm/uvm_prot.h>
 #include <uvm/uvm_pmap.h>
+#if defined(_KERNEL) || defined(_KMEMUSER)
 #include <uvm/uvm_map.h>
 #include <uvm/uvm_pager.h>
+#endif

 /*
  * helpers for calling ubc_release()



Home | Main Index | Thread Index | Old Index