Skip to content

Commit

Permalink
fix(CI): fix windows CI
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Terzolo <[email protected]>
  • Loading branch information
Andreagit97 committed Feb 16, 2024
1 parent 5a8bee5 commit f70c4b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions userspace/falco/app/actions/helpers_inspector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
3 changes: 3 additions & 0 deletions userspace/falco/configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ limitations under the License.
#include <sys/stat.h>
#ifndef _WIN32
#include <unistd.h>
#else
// Used in the ebpf probe path.
#define PATH_MAX 260
#endif
#include "falco_utils.h"

Expand Down

0 comments on commit f70c4b8

Please sign in to comment.