Date: Fri, 4 Dec 2020 15:50:45 +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: r368336 - head/sys/compat/linuxkpi/common/include/linux Message-ID: <202012041550.0B4Foj28061481@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012041550.0B4Foj28061481>