commit f368bbd0068f1389e62b605872dab84e163cf99c
parent 34c8108c06a1307fc237f118e12a175bacf7a6f7
Author: Simon Kämpe <simon.kampe@gmail.com>
Date: Sat, 7 Jan 2012 10:57:22 +0100
Added missing #ifndef NOLIBCAIRO
Needed to compile without libcairo.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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). */