Apply change 142518 from Perforce master to fix PR 38787:
Minor portability enhancement; define REG_BASIC if it's not already defined.
This commit is contained in:
parent
cc47ae247f
commit
de882dbdf9
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue