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 $"); | |||
29 | #include "packet.h" | 29 | #include "packet.h" |
30 | #include "xmalloc.h" | 30 | #include "xmalloc.h" |
31 | #include "compat.h" | 31 | #include "compat.h" |
32 | #include <regex.h> | 32 | #ifdef HAVE_LIBRX |
33 | # include <rxposix.h> | ||
34 | #else /* Use native regex libraries */ | ||
35 | # include <regex.h> | ||
36 | #endif /* HAVE_LIBRX */ | ||
33 | 37 | ||
34 | int compat13 = 0; | 38 | int compat13 = 0; |
35 | int compat20 = 0; | 39 | int compat20 = 0; |