When building standalone, include stand.h rather than the kernel
includes or the userland includes. Sponsored by: Netflix
This commit is contained in:
parent
ee72627d36
commit
6bc680b3ff
@ -32,6 +32,8 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
#include <sys/kernel.h>
|
#include <sys/kernel.h>
|
||||||
#include <sys/malloc.h>
|
#include <sys/malloc.h>
|
||||||
|
#elif defined(_STANDALONE)
|
||||||
|
#include "stand.h"
|
||||||
#else
|
#else
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user