Import pcre2 variant when configured to use it
authorBastian Germann <bage@debian.org>
Wed, 24 Aug 2022 16:04:32 +0000 (18:04 +0200)
committerBastian Germann <bage@debian.org>
Wed, 24 Aug 2022 21:52:35 +0000 (22:52 +0100)
[GB.PCRE]
* BUG: Import pcre2 variant when configured to use it

Gbp-Pq: Name Import-pcre2-variant-when-configured-to-use-it.patch

gb.pcre/src/main.c

index 14a653d89084145cf6ad3e1fe9eeaca9ec6fd0db..6febffc2af1de20ebf31fd8441628a56d9e5eef2 100644 (file)
 #include <stdarg.h>
 #include <string.h>
 
+#include "config.h"
+
+#ifdef PCRE2
+#include "regexp2.h"
+#else
 #include "regexp.h"
+#endif
 
 #include "main.h"