1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 04:32:55 +00:00

Fix build errors with --disable-x11.

This commit is contained in:
Brenden Matthews 2009-07-10 10:07:39 -06:00
parent 2fa5f97edb
commit c494feafe1

View File

@ -336,6 +336,7 @@ void llua_inotify_query(int wd, int mask)
} }
#endif /* HAVE_SYS_INOTIFY_H */ #endif /* HAVE_SYS_INOTIFY_H */
#ifdef X11
void llua_draw_pre_hook(void) void llua_draw_pre_hook(void)
{ {
if (!lua_L || !draw_pre) return; 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"); lua_setglobal(lua_L, "conky_window");
} }
#endif /* X11 */