fix(userspace/falco): add PATH_MAX for windows build

Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
This commit is contained in:
Roberto Scolaro
2023-10-24 17:23:17 +00:00
committed by poiana
parent e5e5416ade
commit 5b3cb654ff

View File

@@ -23,6 +23,10 @@ limitations under the License.
#include "helpers.h"
#ifdef _WIN32
#define PATH_MAX 260
#endif
/* DEPRECATED: we will remove it in Falco 0.34. */
#define FALCO_BPF_ENV_VARIABLE "FALCO_BPF_PROBE"