svn commit: r326584 - head/sys/geom/eli
Warner Losh
imp at FreeBSD.org
Tue Dec 5 21:37:33 UTC 2017
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>
More information about the svn-src-all
mailing list