Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 2020 09:21:07 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r368405 - head/sys/sys
Message-ID:  <202012070921.0B79L748038788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012070921.0B79L748038788>