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 Dec 2, 2024
1 parent 3c1bba3 commit 74eba84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions userspace/libscap/engine/savefile/converter/converter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ limitations under the License.
#include <string>
#include <stdexcept>
#include <memory>
#include <libscap/scap-int.h>

typedef std::shared_ptr<scap_evt> safe_scap_evt_t;

Expand All @@ -36,8 +37,6 @@ static inline safe_scap_evt_t safe_scap_evt(scap_evt *evt) {
// use a shared pointer to store the events
static std::unordered_map<uint64_t, safe_scap_evt_t> evt_storage = {};

extern const struct ppm_event_info g_event_info[];

static const char *get_event_name(ppm_event_code event_type) {
const struct ppm_event_info *event_info = &g_event_info[event_type];
return event_info->name;
Expand Down

0 comments on commit 74eba84

Please sign in to comment.