1From 87f1bf7d1e0ca2a841706d1c41d14382f11264db Mon Sep 17 00:00:00 2001 2From: Bartosz Golaszewski <brgl@bgdev.pl> 3Date: Thu, 28 Apr 2022 16:32:06 +0200 4Subject: [PATCH] ext: define FNM_EXTMATCH if not already defined 5 6On musl this constant is not defined. Define it locally if not present. 7 8Upstream-Status: Inappropriate 9 10Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> 11 12--- 13 src/ext.c | 3 +++ 14 1 file changed, 3 insertions(+) 15 16diff --git a/src/ext.c b/src/ext.c 17index fb33de1..fa01a81 100644 18--- a/src/ext.c 19+++ b/src/ext.c 20@@ -19,6 +19,9 @@ 21 #include <sys/vfs.h> 22 #include <unistd.h> 23 24+#ifndef FNM_EXTMATCH 25+#define FNM_EXTMATCH 0 26+#endif 27 28 #define FUNUSED __attribute__((unused)) 29 30