summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--navit/font/freetype/font_freetype.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/navit/font/freetype/font_freetype.c b/navit/font/freetype/font_freetype.c
index 5e39092f8..50962fda9 100644
--- a/navit/font/freetype/font_freetype.c
+++ b/navit/font/freetype/font_freetype.c
@@ -30,7 +30,11 @@
#include FT_CACHE_H
#endif
#ifdef USE_FRIBIDI
+#pragma GCC diagnostic push
+// fribidi.h is a bit misbehaved...
+#pragma GCC diagnostic ignored "-Wundef"
#include <fribidi.h>
+#pragma GCC diagnostic pop
#endif
#include FT_GLYPH_H
#include "point.h"