diff options
Diffstat (limited to 'src/core/core.c')
-rw-r--r-- | src/core/core.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/core.c b/src/core/core.c index 626d58b..fe7a5e0 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -31,9 +31,6 @@ #include <openssl/ssl.h> -#include <config.h> - - #include "collections.h" #include "demanglers.h" #include "global.h" @@ -41,7 +38,7 @@ #include "processors.h" #include "queue.h" #include "../analysis/scan/core.h" -#ifdef HAVE_MAGIC_SUPPORT +#ifdef INCLUDE_MAGIC_SUPPORT # include "../analysis/scan/items/magic/cookie.h" #endif #include "../common/io.h" @@ -108,7 +105,7 @@ bool load_all_core_components(bool cs) resolver = g_content_resolver_new(); set_current_content_resolver(resolver); -#ifdef HAVE_MAGIC_SUPPORT +#ifdef INCLUDE_MAGIC_SUPPORT if (result) result = init_magic_cookie(); #endif @@ -161,7 +158,7 @@ void unload_all_core_components(bool cs) unload_all_scan_token_modifiers(); set_rost_root_namespace(NULL); -#ifdef HAVE_MAGIC_SUPPORT +#ifdef INCLUDE_MAGIC_SUPPORT exit_magic_cookie(); #endif |