From 8098e6d5c18aed753241e6afaa4572c643a2ee1f Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 21 Feb 2023 01:49:17 +0100 Subject: [PATCH] btrfs-progs: tests: fix paths of library-test.c includes There are now own copies of ioctl.h and kerncompat.h just for libbtrfs so the library test should use them. Signed-off-by: David Sterba --- tests/library-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/library-test.c b/tests/library-test.c index f8c64a5c..3a09044a 100644 --- a/tests/library-test.c +++ b/tests/library-test.c @@ -17,12 +17,12 @@ */ #if BTRFS_FLAT_INCLUDES -#include "kerncompat.h" +#include "libbtrfs/kerncompat.h" #include "libbtrfs/version.h" +#include "libbtrfs/ioctl.h" #include "kernel-lib/rbtree.h" #include "kernel-lib/list.h" #include "kernel-shared/ctree.h" -#include "ioctl.h" #include "kernel-shared/send.h" #include "common/send-stream.h" #include "common/send-utils.h"