On Mon, Nov 19, 2018 at 06:24:12PM +0700, Robert Elz wrote: > Date: Mon, 19 Nov 2018 10:48:59 +0000 > From: "Maya Rashish" <m...@netbsd.org> > Message-ID: <20181119104859.36f32f...@cvs.netbsd.org> > > | Module Name: src > | Committed By: maya > | Date: Mon Nov 19 10:48:59 UTC 2018 > | > | Modified Files: > | src/sys/external/bsd/drm2/include/linux/regulator: consumer.h > | > | Log Message: > | include machine/limits.h for INT_MAX > > For this one the conventional include (which could be submitted back > to wherever the linux version comes from) would be <limits.h> > > kre >
The linux includes are local shims on NetBSD. As I understand it, I can't use userland headers in the kernel. What's the rule for that?