From 8f117582531853100b5e0e5ce6a654398270c6c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 11 Oct 2014 17:29:32 +0200 Subject: Fix FTBFS with libmagic < 4.23 --- tdeio/tdeio/kmimemagic.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tdeio') 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 +#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 -- cgit v1.2.1