aboutsummaryrefslogtreecommitdiffstats
path: root/main/ifupdown/musl-macros-archlinux.patch
blob: e72e6d79ba195b6337b461ae4ad65e5f84096d25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/archlinux.c	2018-08-25 16:09:19.000000000 +0200
+++ b/archlinux.c	2019-06-01 19:02:42.615387535 +0200
@@ -10,6 +10,10 @@
 
 #include "archcommon.h"
 
+#ifndef FNM_EXTMATCH
+#define FNM_EXTMATCH 0
+#endif
+
 bool variable_match(const char *iface, const char *variable, const char *pattern) {
 	// Map platform-independent variables to sysfs names
 	if(!strcasecmp(variable, "mac"))