summaryrefslogtreecommitdiff
path: root/src/lib/render_text.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/render_text.cc')
-rw-r--r--src/lib/render_text.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/render_text.cc b/src/lib/render_text.cc
index de33f9380..347125712 100644
--- a/src/lib/render_text.cc
+++ b/src/lib/render_text.cc
@@ -24,10 +24,13 @@
#include "cross.h"
#include "font.h"
#include "dcpomatic_assert.h"
+#include "warnings.h"
#include <dcp/raw_convert.h>
#include <fontconfig/fontconfig.h>
+DCPOMATIC_DISABLE_WARNINGS
#include <cairomm/cairomm.h>
#include <pangomm.h>
+DCPOMATIC_ENABLE_WARNINGS
#include <pango/pangocairo.h>
#ifndef DCPOMATIC_HAVE_SHOW_IN_CAIRO_CONTEXT
#include <pango/pangocairo.h>