Compatibility fix: define REG_BASIC if it isn't already. In particular,
glibc has a suitable regex implementation, but doesn't define this constant. Thanks to: Diego "Flameeyes" Pettenò
This commit is contained in:
parent
a212de8851
commit
aabccf4a0d
@ -34,6 +34,10 @@ __FBSDID("$FreeBSD$");
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifndef REG_BASIC
|
||||
#define REG_BASIC 0
|
||||
#endif
|
||||
|
||||
struct subst_rule {
|
||||
struct subst_rule *next;
|
||||
regex_t re;
|
||||
|
Loading…
Reference in New Issue
Block a user