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>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"