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

includes or the userland includes.

Sponsored by: Netflix
This commit is contained in:
Warner Losh 2017-12-05 21:37:32 +00:00
parent 9b43e3da5e
commit 700b6f8e23
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326584

View File

@ -32,6 +32,8 @@ __FBSDID("$FreeBSD$");
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#elif defined(_STANDALONE)
#include "stand.h"
#else
#include <stdint.h>
#include <string.h>