diff --git a/Makefile b/Makefile index 5a8dd742..2c436d8d 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,6 @@ CFLAGS = $(SUBST_CFLAGS) \ -fno-strict-aliasing \ -fPIC \ -I$(TOPDIR) \ - -I$(TOPDIR)/libbtrfsutil \ $(CRYPTO_CFLAGS) \ -DCOMPRESSION_LZO=$(COMPRESSION_LZO) \ -DCOMPRESSION_ZSTD=$(COMPRESSION_ZSTD) \ diff --git a/cmds/filesystem.c b/cmds/filesystem.c index c01026d5..65ae26ee 100644 --- a/cmds/filesystem.c +++ b/cmds/filesystem.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include "libbtrfsutil/btrfsutil.h" #include "kernel-shared/ctree.h" #include "kernel-shared/volumes.h" #include "kernel-lib/list_sort.h" diff --git a/cmds/property.c b/cmds/property.c index 9f734879..8bd88cdf 100644 --- a/cmds/property.c +++ b/cmds/property.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include "libbtrfsutil/btrfsutil.h" #include "kernel-shared/ctree.h" #include "common/open-utils.h" #include "common/utils.h" diff --git a/cmds/qgroup.c b/cmds/qgroup.c index b48643aa..d197b026 100644 --- a/cmds/qgroup.c +++ b/cmds/qgroup.c @@ -20,7 +20,7 @@ #include #include #include -#include +#include "libbtrfsutil/btrfsutil.h" #include "kernel-shared/ctree.h" #include "common/open-utils.h" #include "common/utils.h" diff --git a/cmds/receive.c b/cmds/receive.c index c430e6c4..ff6839f8 100644 --- a/cmds/receive.c +++ b/cmds/receive.c @@ -46,6 +46,7 @@ #if COMPRESSION_ZSTD #include #endif +#include "libbtrfsutil/stubs.h" #include "kernel-shared/ctree.h" #include "kernel-lib/list.h" #include "kernel-shared/send.h" @@ -56,7 +57,6 @@ #include "common/path-utils.h" #include "cmds/commands.h" #include "cmds/receive-dump.h" -#include "stubs.h" #include "ioctl.h" struct btrfs_receive diff --git a/cmds/subvolume.c b/cmds/subvolume.c index 4f46df41..e63ae081 100644 --- a/cmds/subvolume.c +++ b/cmds/subvolume.c @@ -28,7 +28,7 @@ #include #include #include -#include +#include "libbtrfsutil/btrfsutil.h" #include "cmds/qgroup.h" #include "kernel-shared/ctree.h" #include "common/utils.h" diff --git a/common/utils.c b/common/utils.c index e9965569..00732a21 100644 --- a/common/utils.c +++ b/common/utils.c @@ -37,7 +37,7 @@ #include #include #include -#include +#include "libbtrfsutil/btrfsutil.h" #include "kernel-lib/radix-tree.h" #include "kernel-shared/ctree.h" #include "kernel-shared/disk-io.h"