summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/libs/libtext2path/src
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-11 02:07:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-11 02:07:33 +0000
commit65627278ad561133809e332b0fc89a7cc4883409 (patch)
treefabf47149c0ff3d47d9553567f460b9ea83c52e7 /ksvg/impl/libs/libtext2path/src
parentd34b0133bf984a1911c8323fad490cdc24048f65 (diff)
downloadtdegraphics-65627278ad561133809e332b0fc89a7cc4883409.tar.gz
tdegraphics-65627278ad561133809e332b0fc89a7cc4883409.zip
Autodetect old fribidi header file
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1173991 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksvg/impl/libs/libtext2path/src')
-rw-r--r--ksvg/impl/libs/libtext2path/src/Converter.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/ksvg/impl/libs/libtext2path/src/Converter.cpp b/ksvg/impl/libs/libtext2path/src/Converter.cpp
index 30ce4409..59ab8e5c 100644
--- a/ksvg/impl/libs/libtext2path/src/Converter.cpp
+++ b/ksvg/impl/libs/libtext2path/src/Converter.cpp
@@ -18,12 +18,19 @@
Boston, MA 02110-1301, USA.
*/
+#include "config.h"
+
#include <math.h>
#include "myboost/shared_ptr.hpp"
#include <fontconfig/fontconfig.h>
#include <fribidi/fribidi.h>
+
+#ifdef FRIBIDI_NEW_FILENAME
#include <fribidi/fribidi-types.h>
+#else
+#include <fribidi/fribidi_types.h>
+#endif
#include "Font.h"
#include "Glyph.h"