svn commit: r368405 - head/sys/sys
Hans Petter Selasky
hselasky at FreeBSD.org
Mon Dec 7 09:21:07 UTC 2020
Author: hselasky
Date: Mon Dec 7 09:21:06 2020
New Revision: 368405
URL: https://svnweb.freebsd.org/changeset/base/368405
Log:
Allow sys/refcount.h to be used by standalone builds.
No functional change.
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking
Modified:
head/sys/sys/refcount.h
Modified: head/sys/sys/refcount.h
==============================================================================
--- head/sys/sys/refcount.h Mon Dec 7 04:45:29 2020 (r368404)
+++ head/sys/sys/refcount.h Mon Dec 7 09:21:06 2020 (r368405)
@@ -32,7 +32,7 @@
#include <machine/atomic.h>
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_STANDALONE)
#include <sys/systm.h>
#else
#include <stdbool.h>
More information about the svn-src-head
mailing list