Skip to content

Commit

Permalink
fix(libsinsp): correct MINIMAL_BUILD gate for docker
Browse files Browse the repository at this point in the history
`container_engine/docker/async_source.h` includes curl, which is not included in the minimal build.

Signed-off-by: Leonardo Grasso <[email protected]>
  • Loading branch information
leogr authored and poiana committed Nov 12, 2021
1 parent 6e80503 commit 340be86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions userspace/libsinsp/parsers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ bool should_drop(sinsp_evt *evt);
#endif
#include "sinsp_int.h"

#if !defined(MINIMAL_BUILD)
#include "container_engine/docker/async_source.h"
#endif

extern sinsp_protodecoder_list g_decoderlist;
extern sinsp_evttables g_infotables;
Expand Down

0 comments on commit 340be86

Please sign in to comment.