aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ndpi_utils.c')
-rw-r--r--src/lib/ndpi_utils.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c
index 9839d8863..18e9f424a 100644
--- a/src/lib/ndpi_utils.c
+++ b/src/lib/ndpi_utils.c
@@ -59,6 +59,15 @@
// #define DEBUG_REASSEMBLY
+#ifdef HAVE_PCRE
+#include <pcre.h>
+
+struct pcre_struct {
+ pcre *compiled;
+ pcre_extra *optimized;
+};
+#endif
+
/* ****************************************** */
/* implementation of the punycode check function */