From: Simon Kämpe Date: Sat, 7 Jan 2012 09:57:22 +0000 (+0100) Subject: Added missing #ifndef NOLIBCAIRO X-Git-Tag: 2.3~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f368bbd0068f1389e62b605872dab84e163cf99c;p=i3%2Fi3lock Added missing #ifndef NOLIBCAIRO Needed to compile without libcairo. --- 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). */