summaryrefslogtreecommitdiffstats
path: root/tdeio/tdeio
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-10-11 17:29:32 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-11 17:29:40 +0200
commit8f117582531853100b5e0e5ce6a654398270c6c4 (patch)
tree49fcaa5b73cc4f8a8016562494395fbd5f82b94c /tdeio/tdeio
parent9a6735bb63e078fe0281bda13efa3c759f9bbd1d (diff)
downloadtdelibs-8f117582531853100b5e0e5ce6a654398270c6c4.tar.gz
tdelibs-8f117582531853100b5e0e5ce6a654398270c6c4.zip
Fix FTBFS with libmagic < 4.23
Diffstat (limited to 'tdeio/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