From 987439d962f338b69d4a5e9ca5610c592d7a1062 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 9 Mar 2017 06:31:07 +0000 Subject: [PATCH] btrfs-progs: fix musl build --- srcpkgs/btrfs-progs/patches/musl-compat.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/srcpkgs/btrfs-progs/patches/musl-compat.patch b/srcpkgs/btrfs-progs/patches/musl-compat.patch index 99b45ed4f24..20f00b01017 100644 --- a/srcpkgs/btrfs-progs/patches/musl-compat.patch +++ b/srcpkgs/btrfs-progs/patches/musl-compat.patch @@ -21,3 +21,23 @@ if (!(f = fopen(p, "r"))) { if (errno == ENOENT) /* +--- mkfs/common.c.orig 2017-03-08 13:23:24.000000000 +0000 ++++ mkfs/common.c 2017-03-09 06:24:26.356552024 +0000 +@@ -18,6 +18,7 @@ + #include + #include + #include ++#include + #include "ctree.h" + #include "disk-io.h" + #include "volumes.h" +--- convert/source-ext2.c.orig 2017-03-08 13:23:24.000000000 +0000 ++++ convert/source-ext2.c 2017-03-09 06:27:45.991562323 +0000 +@@ -16,6 +16,7 @@ + + #if BTRFSCONVERT_EXT2 + ++#include + #include "kerncompat.h" + #include "disk-io.h" + #include "transaction.h"