btrfs-progs: convert: add missing types header
authorBaruch Siach <baruch@tkos.co.il>
Tue, 31 Oct 2017 12:57:54 +0000 (14:57 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 14 Nov 2017 14:59:01 +0000 (15:59 +0100)
commit658cc4daa6ed6e6463cba2f30731abd9a91a7b2d
tree693de10894572f198ad885ccb6dd1b29c16976bf
parent8c36786c8198bb7e440723240d9775d868d8409c
btrfs-progs: convert: add missing types header

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 <baruch@tkos.co.il>
Signed-off-by: David Sterba <dsterba@suse.com>
convert/source-fs.h