From: Luis Ressel <aranea@xxxxxxxx> musl doesn't implement GLOB_BRACE and GLOB_TILDE, so simply don't use them there. This only affects "setfiles -f", which I don't expect many people use, and it's undocumented anyway that it expands globs. Signed-off-by: Luis Ressel <aranea@xxxxxxxx> Signed-off-by: Jason Zaman <jason@xxxxxxxxxxxxx> --- policycoreutils/setfiles/restore.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/policycoreutils/setfiles/restore.c b/policycoreutils/setfiles/restore.c index 50d192a2..9dea5656 100644 --- a/policycoreutils/setfiles/restore.c +++ b/policycoreutils/setfiles/restore.c @@ -6,6 +6,14 @@ #include "restore.h" #include <glob.h> +#ifndef GLOB_BRACE +#define GLOB_BRACE 0 +#endif + +#ifndef GLOB_TILDE +#define GLOB_TILDE 0 +#endif + char **exclude_list; int exclude_count; -- 2.16.1