summaryrefslogtreecommitdiff
path: root/src/analysis/scan
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-09-10 22:02:21 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-09-10 22:02:21 (GMT)
commitb370370a9e35f9dd2357102b17338d3d93bb62aa (patch)
treeb8a8c5019a0705a75cf9cf8572c07219bc159076 /src/analysis/scan
parent2424c52c4f3bc44ce5f36348442cfa103e0989c2 (diff)
Tune the compilation using flags instead of a config file.
Diffstat (limited to 'src/analysis/scan')
-rw-r--r--src/analysis/scan/core.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/analysis/scan/core.c b/src/analysis/scan/core.c
index d102d58..3d4e529 100644
--- a/src/analysis/scan/core.c
+++ b/src/analysis/scan/core.c
@@ -24,7 +24,6 @@
#include "core.h"
-#include <config.h>
#include <malloc.h>
#include <string.h>
@@ -33,7 +32,7 @@
#include "items/datasize.h"
#include "items/uint.h"
#include "items/console/log.h"
-#ifdef HAVE_MAGIC_SUPPORT
+#ifdef INCLUDE_MAGIC_SUPPORT
# include "items/magic/type.h"
# include "items/magic/mime-encoding.h"
# include "items/magic/mime-type.h"
@@ -266,7 +265,7 @@ bool populate_main_scan_namespace(GScanNamespace *space)
/* Magic */
-#ifdef HAVE_MAGIC_SUPPORT
+#ifdef INCLUDE_MAGIC_SUPPORT
if (result)
{
ns = g_scan_namespace_new("magic");