summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unlock_indicator.c3
1 files changed, 3 insertions, 0 deletions
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). */