summaryrefslogtreecommitdiff
path: root/src/ipaddrcheck_functions.h
diff options
context:
space:
mode:
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