diff options
author | François Andriot <francois.andriot@free.fr> | 2014-10-11 17:29:32 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-07-22 15:56:43 +0200 |
commit | 2ab53ffee4f353a0add3f95da8f1af9977d673f0 (patch) | |
tree | 1c4c039bae28b27ec95516bba1cf36f04677013a | |
parent | 3138567410d9120d1c77da42522d56796a191763 (diff) | |
download | tdelibs-2ab53ffee4f353a0add3f95da8f1af9977d673f0.tar.gz tdelibs-2ab53ffee4f353a0add3f95da8f1af9977d673f0.zip |
Fix FTBFS with libmagic < 4.23
(cherry picked from commit 8f117582531853100b5e0e5ce6a654398270c6c4)
-rw-r--r-- | kio/kio/kmimemagic.cpp | 4 |
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 |