Re: btrfs-progs: compile with musl libc

2018-02-13 Thread Dan Robertson
> Thanks, this has been fixed in
> https://github.com/kdave/btrfs-progs/commit/3aa1bbdd89ee9c9c48d260a6192fae08328f1b2f

Ah, my bad. Didn't check the dev branch. Thanks for the quick response!

Cheers,

Dan


signature.asc
Description: Digital signature


btrfs-progs: compile with musl libc

2018-02-13 Thread Dan Robertson
Ensure that limits.h is included in mkfs/main.c as PATH_MAX is used. The lack
of this currently causes btrfs-progs to fail to compile when the systems libc
is musl.
From 7859e0d01778e844ae0fcbefe55581277ce7cab3 Mon Sep 17 00:00:00 2001
From: Dan Robertson <danlrobertso...@gmail.com>
Date: Tue, 13 Feb 2018 13:04:29 +
Subject: [PATCH] btrfs-progs: compile with musl libc

Ensure that limits.h is included in mkfs/main.c as PATH_MAX is used.

Signed-off-by: Dan Robertson <danlrobertso...@gmail.com>
---
 mkfs/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mkfs/main.c b/mkfs/main.c
index ea65c6d8..f44520aa 100644
--- a/mkfs/main.c
+++ b/mkfs/main.c
@@ -27,6 +27,7 @@
 /* #include  included via androidcompat.h */
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
-- 
2.16.1



signature.asc
Description: Digital signature