Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CAPE/YaraHarness.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

#include <Windows.h>

// The libyara backend (YaraHarness.c) needs libyara's header; the YARA-X
// backend (YaraHarnessX.c, built when CAPE_USE_YARA_X is defined) does not,
// and nothing in this header depends on a YR_* type.
#ifndef CAPE_USE_YARA_X
#include "yara.h"
#endif

typedef struct
{
Expand Down
Loading