From e28c407f612877e750e6e5e1b92a8949275b7df0 Mon Sep 17 00:00:00 2001 From: Mike Kershaw / Dragorn Date: Thu, 16 Dec 2021 20:35:43 -0500 Subject: [PATCH] Fix compiling when pcre is not available Fix compiling when pcre is not available --- log_tools/kismetdb_to_wiglecsv.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/log_tools/kismetdb_to_wiglecsv.cc b/log_tools/kismetdb_to_wiglecsv.cc index 8d4a8db68..5c79680c7 100644 --- a/log_tools/kismetdb_to_wiglecsv.cc +++ b/log_tools/kismetdb_to_wiglecsv.cc @@ -239,6 +239,9 @@ int main(int argc, char *argv[]) { pcre *re; pcre_extra *study; +#else + pcre_filter(const std::string& in_regex) {} + bool match(const std::string& target) {return false;} #endif };