summaryrefslogtreecommitdiff
path: root/src/cairo-xlib-screen.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-01-29 11:30:49 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-01-29 11:30:49 +0000
commit05d4f9b461749f129b17cc97d6e3e6b49fe8e8d9 (patch)
tree7ea506f05211b17187c65a3c9515c521d5b971fa /src/cairo-xlib-screen.c
parente3e74641450481e7ad393bbc6fd1a7428be53de1 (diff)
xlib: Compile fix for no fontconfig
Diffstat (limited to 'src/cairo-xlib-screen.c')
-rw-r--r--src/cairo-xlib-screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-xlib-screen.c b/src/cairo-xlib-screen.c
index 699b7d53..18f974b3 100644
--- a/src/cairo-xlib-screen.c
+++ b/src/cairo-xlib-screen.c
@@ -60,7 +60,9 @@
#include "cairo-xlib-surface-private.h"
#include "cairo-error-private.h"
+#if CAIRO_HAS_FC_FONT
#include <fontconfig/fontconfig.h>
+#endif
static int
parse_boolean (const char *v)
@@ -142,7 +144,6 @@ get_integer_default (Display *dpy,
#define FC_HINT_FULL 3
#endif
-
static void
_cairo_xlib_init_screen_font_options (Display *dpy,
cairo_xlib_screen_t *info)