diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2000-10-14 21:33:19 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2000-10-14 21:33:19 +0000 |
commit | ca1c2a0bac6e3ceab5c232ab800a1085db346144 (patch) | |
tree | f09fdc5fe09ea51de5d9207775b666296f5a7b99 /compat.c | |
parent | e0f49143d3eb0519339997a0711e1d62fdd26db1 (diff) |
Add support for GNU rx library for those lacking regexp support
Diffstat (limited to 'compat.c')
-rw-r--r-- | compat.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -29,7 +29,11 @@ RCSID("$OpenBSD: compat.c,v 1.24 2000/10/10 20:20:45 markus Exp $"); #include "packet.h" #include "xmalloc.h" #include "compat.h" -#include <regex.h> +#ifdef HAVE_LIBRX +# include <rxposix.h> +#else /* Use native regex libraries */ +# include <regex.h> +#endif /* HAVE_LIBRX */ int compat13 = 0; int compat20 = 0; |