*/
#include <config.h>
-#include <gtkmm.h>
+
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
#include "GPainter.h"
#include "debug.h"
#include "support/lstrings.h"
-#include <boost/scoped_array.hpp>
+#include <gtkmm.h>
+#include <gdk/gdkx.h>
#include <X11/Xft/Xft.h>
+#include <boost/scoped_array.hpp>
+
#include <cmath>
using std::string;
namespace font_metrics {
-int width(wchar_t const *s, size_t n, LyXFont const & f);
+int width(wchar_t const * s, size_t n, LyXFont const & f);
} // namespace font_metrics