Author: hselasky
Date: Fri Dec  4 15:50:44 2020
New Revision: 368336
URL: https://svnweb.freebsd.org/changeset/base/368336

Log:
  Allow the rbtree header file in the LinuxKPI to be used in standalone code.
  
  MFC after:    1 week
  Sponsored by: Mellanox Technologies // NVIDIA Networking

Modified:
  head/sys/compat/linuxkpi/common/include/linux/rbtree.h

Modified: head/sys/compat/linuxkpi/common/include/linux/rbtree.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/rbtree.h      Fri Dec  4 
15:46:48 2020        (r368335)
+++ head/sys/compat/linuxkpi/common/include/linux/rbtree.h      Fri Dec  4 
15:50:44 2020        (r368336)
@@ -31,7 +31,10 @@
 #ifndef        _LINUX_RBTREE_H_
 #define        _LINUX_RBTREE_H_
 
+#ifndef _STANDALONE
 #include <sys/stddef.h>
+#endif
+
 #include <sys/tree.h>
 
 struct rb_node {
_______________________________________________
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