8f117582 | 2014-10-11 10:29:40 | François Andriot |
Fix FTBFS with libmagic < 4.23 |
||
M tdeio/tdeio/kmimemagic.cpp |
||
diff --git a/tdeio/tdeio/kmimemagic.cpp b/tdeio/tdeio/kmimemagic.cpp index 97496de..ba5a8dd 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 |