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

Reply via email to