From c494feafe137b385f0a1d45fec46054cfcc5aeeb Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Fri, 10 Jul 2009 10:07:39 -0600 Subject: [PATCH] Fix build errors with --disable-x11. --- src/llua.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/llua.c b/src/llua.c index 03e3672b..b23f471d 100644 --- a/src/llua.c +++ b/src/llua.c @@ -336,6 +336,7 @@ void llua_inotify_query(int wd, int mask) } #endif /* HAVE_SYS_INOTIFY_H */ +#ifdef X11 void llua_draw_pre_hook(void) { if (!lua_L || !draw_pre) return; @@ -463,4 +464,5 @@ void llua_update_window_table(int text_start_x, int text_start_y, int text_width lua_setglobal(lua_L, "conky_window"); } +#endif /* X11 */