--- a/archcommon.h
+++ b/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))
