diff --git a/Makefile b/Makefile index e6b3e5e6..2f8d2fa0 100644 --- a/Makefile +++ b/Makefile @@ -269,7 +269,7 @@ libbtrfs_objects = \ libbtrfs/send-utils.o \ libbtrfs/crc32c.o -libbtrfs_headers = libbtrfs/send-stream.h libbtrfs/send-utils.h libbtrfs/send.h kernel-lib/rbtree.h \ +libbtrfs_headers = libbtrfs/send-stream.h libbtrfs/send-utils.h libbtrfs/send.h \ kernel-lib/rbtree_types.h libbtrfs/kerncompat.h \ libbtrfs/ioctl.h libbtrfs/ctree.h libbtrfs/version.h libbtrfs_version = $(LIBBTRFS_MAJOR).$(LIBBTRFS_MINOR).$(LIBBTRFS_PATCHLEVEL) diff --git a/libbtrfs/ctree.h b/libbtrfs/ctree.h index 9de771f7..0fb25d58 100644 --- a/libbtrfs/ctree.h +++ b/libbtrfs/ctree.h @@ -23,11 +23,11 @@ #if BTRFS_FLAT_INCLUDES #include "libbtrfs/kerncompat.h" -#include "kernel-lib/rbtree.h" +#include "kernel-lib/rbtree_types.h" #include "libbtrfs/ioctl.h" #else #include -#include +#include #include #endif /* BTRFS_FLAT_INCLUDES */ diff --git a/tests/library-test.c b/tests/library-test.c index 11e991eb..27783f1a 100644 --- a/tests/library-test.c +++ b/tests/library-test.c @@ -20,7 +20,7 @@ #include "libbtrfs/kerncompat.h" #include "libbtrfs/version.h" #include "libbtrfs/ioctl.h" -#include "kernel-lib/rbtree.h" +#include "kernel-lib/rbtree_types.h" #include "kernel-shared/ctree.h" #include "kernel-shared/send.h" #include "common/send-stream.h" @@ -32,7 +32,7 @@ */ #include "btrfs/kerncompat.h" #include "btrfs/version.h" -#include "btrfs/rbtree.h" +#include "btrfs/rbtree_types.h" #include "btrfs/ctree.h" #include "btrfs/ioctl.h" #include "btrfs/send.h"