From f368bbd0068f1389e62b605872dab84e163cf99c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20K=C3=A4mpe?= Date: Sat, 7 Jan 2012 10:57:22 +0100 Subject: [PATCH] Added missing #ifndef NOLIBCAIRO Needed to compile without libcairo. --- unlock_indicator.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unlock_indicator.c b/unlock_indicator.c index bd61881..1775c15 100644 --- a/unlock_indicator.c +++ b/unlock_indicator.c @@ -47,8 +47,11 @@ extern uint32_t last_resolution[2]; /* Whether the unlock indicator is enabled (defaults to true). */ extern bool unlock_indicator; +#ifndef NOLIBCAIRO /* A Cairo surface containing the specified image (-i), if any. */ extern cairo_surface_t *img; +#endif + /* Whether the image should be tiled. */ extern bool tile; /* The background color to use (in hex). */