From a44bee57d9c2a0d5024e7bb609500408be0b73a5 Mon Sep 17 00:00:00 2001 From: Andrea Terzolo Date: Wed, 14 Feb 2024 14:25:41 +0100 Subject: [PATCH] fix(CI): fix windows CI Signed-off-by: Andrea Terzolo --- userspace/falco/app/actions/helpers_inspector.cpp | 4 ---- userspace/falco/configuration.cpp | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/userspace/falco/app/actions/helpers_inspector.cpp b/userspace/falco/app/actions/helpers_inspector.cpp index f4638daa..5e34786f 100644 --- a/userspace/falco/app/actions/helpers_inspector.cpp +++ b/userspace/falco/app/actions/helpers_inspector.cpp @@ -24,10 +24,6 @@ limitations under the License. #include "helpers.h" -#ifdef _WIN32 -#define PATH_MAX 260 -#endif - using namespace falco::app; using namespace falco::app::actions; diff --git a/userspace/falco/configuration.cpp b/userspace/falco/configuration.cpp index 9d7a635f..35bcc6cf 100644 --- a/userspace/falco/configuration.cpp +++ b/userspace/falco/configuration.cpp @@ -27,6 +27,9 @@ limitations under the License. #include #ifndef _WIN32 #include +#else +// Used in the ebpf probe path. +#define PATH_MAX 260 #endif #include "falco_utils.h"