From ff15f3f1330ebc878bc18cc9ecaa41d21c44aff7 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Fri, 4 Dec 2020 15:50:44 +0000 Subject: [PATCH] Allow the rbtree header file in the LinuxKPI to be used in standalone code. MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking --- sys/compat/linuxkpi/common/include/linux/rbtree.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/rbtree.h b/sys/compat/linuxkpi/common/include/linux/rbtree.h index 1a49b5d5cdd9..78da33ad2658 100644 --- a/sys/compat/linuxkpi/common/include/linux/rbtree.h +++ b/sys/compat/linuxkpi/common/include/linux/rbtree.h @@ -31,7 +31,10 @@ #ifndef _LINUX_RBTREE_H_ #define _LINUX_RBTREE_H_ +#ifndef _STANDALONE #include +#endif + #include struct rb_node {