summaryrefslogtreecommitdiff
path: root/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/compat.c b/compat.c
index 47af1a8ea..6e0ed65af 100644
--- a/compat.c
+++ b/compat.c
@@ -32,7 +32,15 @@ RCSID("$OpenBSD: compat.c,v 1.33 2001/01/08 22:29:05 markus Exp $");
32#ifdef HAVE_LIBPCRE 32#ifdef HAVE_LIBPCRE
33# include <pcreposix.h> 33# include <pcreposix.h>
34#else /* Use native regex libraries */ 34#else /* Use native regex libraries */
35# include <regex.h> 35# ifdef HAVE_REGEX_H
36# include <regex.h>
37# else
38# ifdef HAVE_REGCOMP
39# include "fake-regex.h"
40# else
41# error "No regular libraries detected. See INSTALL file."
42# endif
43# endif
36#endif /* HAVE_LIBPCRE */ 44#endif /* HAVE_LIBPCRE */
37 45
38int compat13 = 0; 46int compat13 = 0;