From 3cd87aadf870612dab6674dc6c89f095480185a4 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Sun, 22 Feb 2009 03:07:14 +0100 Subject: [PATCH] fix for building with --disable-x11 --- src/conky.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/conky.c b/src/conky.c index 413f0564..03a26daf 100644 --- a/src/conky.c +++ b/src/conky.c @@ -7073,6 +7073,7 @@ static _Bool append_works(const char *path) return 1; } +#ifdef X11 static void X11_initialisation(void) { output_methods |= TO_X; @@ -7080,6 +7081,7 @@ static void X11_initialisation(void) set_default_configurations_for_x(); x_initialised = YES; } +#endif /* X11 */ static void load_config_file(const char *f) {