libbtrfs: remove unneeded includes from kerncompat.h

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2024-08-06 14:29:32 +02:00
parent 9b5ae7c6d7
commit 2f297355c9
2 changed files with 2 additions and 8 deletions

View File

@ -26,17 +26,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <endian.h>
#include <byteswap.h>
#include <assert.h>
#include <stddef.h>
#include <linux/types.h>
#include <linux/const.h>
#include <stdint.h>
#include <stdbool.h>
#include <features.h>
/*
* Libc compatibility.

View File

@ -42,6 +42,8 @@
#include "btrfs/send-utils.h"
#endif
#include <string.h>
/*
* Reduced code snippet from snapper.git/snapper/Btrfs.cc
*/