summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/tdeio/kmimemagic.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdeio/tdeio/kmimemagic.cpp b/tdeio/tdeio/kmimemagic.cpp
index 97496de98..ba5a8dd0a 100644
--- a/tdeio/tdeio/kmimemagic.cpp
+++ b/tdeio/tdeio/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