On Mon, Jul 20, 2015 at 12:27:35AM -0600, Theo de Raadt wrote: > > This commit broke the build on arm and likely elsewhere: > > > > ../../../../uvm/uvm_mmap.c: In function 'sys_kbind': > > ../../../../uvm/uvm_mmap.c:1168: error: dereferencing pointer to incomplete > > type > > *** Error 1 in /usr/src/sys/arch/armv7/compile/GENERIC (Makefile:671 > > 'uvm_mmap.o > > ') > > > > Index: uvm_mmap.c > > =================================================================== > > RCS file: /cvs/src/sys/uvm/uvm_mmap.c,v > > retrieving revision 1.110 > > diff -u -p -r1.110 uvm_mmap.c > > --- uvm_mmap.c 20 Jul 2015 00:56:10 -0000 1.110 > > +++ uvm_mmap.c 20 Jul 2015 04:44:59 -0000 > > @@ -66,6 +66,7 @@ > > #include <sys/specdev.h> > > #include <sys/stdint.h> > > #include <sys/unistd.h> /* for KBIND* */ > > +#include <sys/user.h> > > > > #include <machine/exec.h> /* for __LDPGSZ */ > > Grr. Is there a way to fix this in an MD fashion? Just asking.
sys/user.h could be included in the arm/vax cpu.h ?