btrfs-progs: convert: fix build on musl
authorDavid Sterba <dsterba@suse.com>
Sat, 3 Feb 2018 00:06:21 +0000 (01:06 +0100)
committerDavid Sterba <dsterba@suse.com>
Sat, 3 Feb 2018 00:06:21 +0000 (01:06 +0100)
Voidlinux has a patch to fix build on musl.

Signed-off-by: David Sterba <dsterba@suse.com>
convert/source-fs.h

index 4e5babe..f5314af 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/kdev_t.h>
 #include <sys/types.h>
 #include <pthread.h>
+#include <sys/types.h>
 
 #define CONV_IMAGE_SUBVOL_OBJECTID BTRFS_FIRST_FREE_OBJECTID