X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fregex.c;h=270fb590b5e7fc8873afefc2d5c898c97a1d1287;hb=e371dcc1cd2857036374dd9597705faed0427006;hp=cfabd4d0b6043cc7a63884fc4294a8cefe922871;hpb=4a3645d50bfa8753f0d3e37d177863452bf824bb;p=libucw.git diff --git a/lib/regex.c b/lib/regex.c index cfabd4d0..270fb590 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -15,11 +15,15 @@ #include #include -#ifdef CONFIG_POSIX_REGEX +#if defined(CONFIG_OWN_REGEX) || defined(CONFIG_POSIX_REGEX) /* POSIX regular expression library */ +#ifdef CONFIG_OWN_REGEX +#include "lib/regex/regex-sh.h" +#else #include +#endif struct regex { regex_t rx;