This isn't NetBSD specific code. Include these for any kernel /

standalone use. Tweak for FreeBSD's quirky limits.h stuff.

Sponsored by: Netflix
This commit is contained in:
Warner Losh 2017-12-05 21:38:10 +00:00
parent f38658e140
commit 52634ec581

View File

@ -55,12 +55,12 @@
#define UNUSED __attribute__((unused))
#endif
#if defined(__NetBSD__) && (defined(_KERNEL) || defined(_STANDALONE))
#if (defined(_KERNEL) || defined(_STANDALONE))
/*
* Kernel and boot environment can't use normal headers,
* so use the equivalent system headers.
*/
# include <machine/limits.h>
# include <sys/limits.h>
# include <sys/stdint.h>
# include <sys/types.h>
#else