summaryrefslogtreecommitdiff
path: root/compat.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2000-10-14 21:33:19 +0000
committerBen Lindstrom <mouring@eviladmin.org>2000-10-14 21:33:19 +0000
commitca1c2a0bac6e3ceab5c232ab800a1085db346144 (patch)
treef09fdc5fe09ea51de5d9207775b666296f5a7b99 /compat.c
parente0f49143d3eb0519339997a0711e1d62fdd26db1 (diff)
Add support for GNU rx library for those lacking regexp support
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/compat.c b/compat.c
index 19dc76d96..71d12010c 100644
--- a/compat.c
+++ b/compat.c
@@ -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
34int compat13 = 0; 38int compat13 = 0;
35int compat20 = 0; 39int compat20 = 0;