diff --git a/userspace/libsinsp/threadinfo.cpp b/userspace/libsinsp/threadinfo.cpp index cfec222b33..74cd7ced1a 100644 --- a/userspace/libsinsp/threadinfo.cpp +++ b/userspace/libsinsp/threadinfo.cpp @@ -824,7 +824,9 @@ sinsp_threadinfo* sinsp_threadinfo::get_parent_thread() return m_inspector->get_thread_ref(m_ptid, false).get(); } +#ifndef _WIN32 static re2::RE2 pattern(RGX_POD, re2::RE2::POSIX); +#endif void sinsp_threadinfo::set_pod_uid() {