From 2f297355c9b1c451c3ad2bfd07a368ef69b9b8d7 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 6 Aug 2024 14:29:32 +0200 Subject: [PATCH] libbtrfs: remove unneeded includes from kerncompat.h Signed-off-by: David Sterba --- libbtrfs/kerncompat.h | 8 -------- tests/library-test.c | 2 ++ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/libbtrfs/kerncompat.h b/libbtrfs/kerncompat.h index 10fe4df0..b7032b52 100644 --- a/libbtrfs/kerncompat.h +++ b/libbtrfs/kerncompat.h @@ -26,17 +26,9 @@ #include #include -#include -#include #include #include -#include #include -#include -#include -#include -#include -#include /* * Libc compatibility. diff --git a/tests/library-test.c b/tests/library-test.c index 3a09044a..e4662bf4 100644 --- a/tests/library-test.c +++ b/tests/library-test.c @@ -42,6 +42,8 @@ #include "btrfs/send-utils.h" #endif +#include + /* * Reduced code snippet from snapper.git/snapper/Btrfs.cc */