Date: Tue, 5 Dec 2017 21:37:32 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326584 - head/sys/geom/eli Message-ID: <201712052137.vB5LbWb4023802@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Tue Dec 5 21:37:32 2017 New Revision: 326584 URL: https://svnweb.freebsd.org/changeset/base/326584 Log: When building standalone, include stand.h rather than the kernel includes or the userland includes. Sponsored by: Netflix Modified: head/sys/geom/eli/g_eli_hmac.c Modified: head/sys/geom/eli/g_eli_hmac.c ============================================================================== --- head/sys/geom/eli/g_eli_hmac.c Tue Dec 5 21:36:08 2017 (r326583) +++ head/sys/geom/eli/g_eli_hmac.c Tue Dec 5 21:37:32 2017 (r326584) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712052137.vB5LbWb4023802>