summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kio/kio/kmimemagic.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/kio/kio/kmimemagic.cpp b/kio/kio/kmimemagic.cpp
index d33fba5e4..84d7d3887 100644
--- a/kio/kio/kmimemagic.cpp
+++ b/kio/kio/kmimemagic.cpp
@@ -33,6 +33,10 @@
#include <magic.h>
+#ifndef MAGIC_MIME_TYPE
+#define MAGIC_MIME_TYPE MAGIC_MIME
+#endif
+
// Taken from file/file.h
// Keep in sync with that header!
#define FILE_LOAD 0