From 5498bb00b2af04402f526592eb7a19c1e01cbeb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sat, 1 Oct 2022 16:58:28 +0200 Subject: [PATCH] Fix compilation on systems that only have 'libpcre2' installed. [GB.PCRE] * BUG: Fix compilation on systems that only have 'libpcre2' installed. --- gb.pcre/src/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gb.pcre/src/main.c b/gb.pcre/src/main.c index f7f431167..34abdebb0 100644 --- a/gb.pcre/src/main.c +++ b/gb.pcre/src/main.c @@ -29,7 +29,11 @@ #include #include +#if PCRE2 +#include "regexp2.h" +#else #include "regexp.h" +#endif #include "main.h"