summaryrefslogtreecommitdiff
path: root/src/fr-archive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-archive.c')
-rw-r--r--src/fr-archive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fr-archive.c b/src/fr-archive.c
index 6605ff3..c41aa7e 100644
--- a/src/fr-archive.c
+++ b/src/fr-archive.c
@@ -42,7 +42,7 @@
#include "fr-process.h"
#include "fr-init.h"
-#if ENABLE_MAGIC
+#ifdef ENABLE_MAGIC
#include <magic.h>
#endif
@@ -516,7 +516,7 @@ get_mime_type_from_content (GFile *file)
static const char *
get_mime_type_from_magic_numbers (GFile *file)
{
-#if ENABLE_MAGIC
+#ifdef ENABLE_MAGIC
static magic_t magic = NULL;
if (! magic) {