btrfs-progs/libbtrfs
Josef Bacik 78e5887fea btrfs-progs: fix kerncompat.h include ordering for libbtrfs
We're keeping a libbtrfs compatible kerncompat.h around to make it
easier to modify the rest of btrfs-progs.  Unfortunately we also use
some of kernel-lib in libbtrfs, and those also include kerncompat.h.
Those getting included first means we'll pull include/kerncompat.h
instead of libbtrfs/kerncompat.h, which will mess things up.

Fix this by making sure we include our local copy of kerncompat.h first
before we include any other header in btrfs-progs.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-05-26 18:02:27 +02:00
..
crc32c.c btrfs-progs: libbtrfs: own copy of crc32c 2023-02-28 20:11:22 +01:00
crc32c.h btrfs-progs: libbtrfs: own copy of crc32c 2023-02-28 20:11:22 +01:00
ctree.h btrfs-progs: fix kerncompat.h include ordering for libbtrfs 2023-05-26 18:02:27 +02:00
ioctl.h btrfs-progs: libbtrfs: revert to v6.0.2 ioctl.h 2023-01-04 16:45:23 +01:00
kerncompat.h btrfs-progs: libbtrfs: use own copy of kerncompat.h 2023-01-04 16:52:57 +01:00
libbtrfs.sym btrfs-progs: libbtrfs: move libbtrfs.sym to the directory 2023-01-05 14:23:46 +01:00
send-stream.c btrfs-progs: libbtrfs: own copy of crc32c 2023-02-28 20:11:22 +01:00
send-stream.h btrfs-progs: libbtrfs: use own copy of kerncompat.h 2023-01-04 16:52:57 +01:00
send-utils.c btrfs-progs: fix kerncompat.h include ordering for libbtrfs 2023-05-26 18:02:27 +02:00
send-utils.h btrfs-progs: libbtrfs: use own copy of kerncompat.h 2023-01-04 16:52:57 +01:00
send.h btrfs-progs: libbtrfs: use own copy of ctree.h, extent_io.h, send.h and extent-cache.h 2022-06-06 15:48:46 +02:00
version.h.in btrfs-progs: libbtrfs: move version.h to the directory 2023-01-05 14:18:07 +01:00