summaryrefslogtreecommitdiff
path: root/src/ipaddrcheck_functions.h
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2025-06-21 22:58:54 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2025-06-23 00:37:08 +0200
commit18de719b19032a5d576bb9b8e5cf3794860eefce (patch)
tree38c936a8be4aa01fc17875ac52f87edee7a4400c /src/ipaddrcheck_functions.h
parent8d3275d8b86d0bbb0d57442cceda9bb0208f72df (diff)
downloadipaddrcheck-18de719b19032a5d576bb9b8e5cf3794860eefce.tar.gz
ipaddrcheck-18de719b19032a5d576bb9b8e5cf3794860eefce.zip
T7557: Use PCRE2
Diffstat (limited to 'src/ipaddrcheck_functions.h')
-rw-r--r--src/ipaddrcheck_functions.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ipaddrcheck_functions.h b/src/ipaddrcheck_functions.h
index 9b5e55f..b717d74 100644
--- a/src/ipaddrcheck_functions.h
+++ b/src/ipaddrcheck_functions.h
@@ -23,11 +23,13 @@
#ifndef IPADDRCHECK_FUNCTIONS_H
#define IPADDRCHECK_FUNCTIONS_H
+#define PCRE2_CODE_UNIT_WIDTH 8
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
-#include <pcre.h>
+#include <pcre2.h>
#include <libcidr.h>
#define INVALID_PROTO -1