From 658cc4daa6ed6e6463cba2f30731abd9a91a7b2d Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Tue, 31 Oct 2017 14:57:54 +0200 Subject: btrfs-progs: convert: add missing types header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Build with musl libc needs the sys/types.h header for the dev_t type, since this header is not included indirectly. This fixes the following build failure: In file included from convert/source-fs.c:23:0: ./convert/source-fs.h:112:1: error: unknown type name ‘dev_t’ dev_t decode_dev(u32 dev); ^~~~~ convert/source-fs.c:31:1: error: unknown type name ‘dev_t’ dev_t decode_dev(u32 dev) ^~~~~ Signed-off-by: Baruch Siach Signed-off-by: David Sterba --- convert/source-fs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'convert') diff --git a/convert/source-fs.h b/convert/source-fs.h index 23f33567..4e5babef 100644 --- a/convert/source-fs.h +++ b/convert/source-fs.h @@ -19,6 +19,7 @@ #include "kerncompat.h" #include +#include #include #define CONV_IMAGE_SUBVOL_OBJECTID BTRFS_FIRST_FREE_OBJECTID -- cgit v1.2.3