summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-11-09 19:41:24 +0000
committerCarl Hetherington <cth@carlh.net>2016-11-09 19:41:24 +0000
commitc4e3abb22acd8b41f8921e99af67a160f63f189e (patch)
treea07d2a0ad2a58db66e760f3a050f911ed2674058
parentaeda37434f0c55686839bdc12c876deb39ea014a (diff)
Missing include.
-rw-r--r--src/lib/render_subtitles.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/render_subtitles.cc b/src/lib/render_subtitles.cc
index 66f2d4aca..0660d0e06 100644
--- a/src/lib/render_subtitles.cc
+++ b/src/lib/render_subtitles.cc
@@ -28,6 +28,9 @@
#include <fontconfig/fontconfig.h>
#include <cairomm/cairomm.h>
#include <pangomm.h>
+#ifndef DCPOMATIC_HAVE_SHOW_IN_CAIRO_CONTEXT
+#include <pango/pangocairo.h>
+#endif
#include <boost/foreach.hpp>
#include <iostream>