void-packages/srcpkgs/ifupdown/patches/fix-musl.patch

14 lines
347 B
Diff

--- archcommon.h
+++ archcommon.h
@@ -2,6 +2,10 @@
bool execable(const char *);
+#if !defined(FNM_EXTMATCH)
+#define FNM_EXTMATCH 0
+#endif
+
#define iface_is_link() (!_iface_has(ifd->real_iface, ":."))
#define iface_has(s) _iface_has(ifd->real_iface, (s))
#define iface_is_lo() ((!strcmp(ifd->logical_iface, LO_IFACE)) && (!no_loopback))