When building standalone, include stand.h rather than the kernel

includes or the userland includes.

Sponsored by: Netflix
This commit is contained in:
imp 2017-12-05 21:37:32 +00:00
parent ee72627d36
commit 6bc680b3ff

View File

@ -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>