diff options
author | mongo <mongo@mongos-iMac.local> | 2017-04-06 19:27:09 -0400 |
---|---|---|
committer | mongo <mongo@mongos-iMac.local> | 2017-04-06 19:27:09 -0400 |
commit | d5c9060e33323c5e3d3deb4ba94c1768e5aa62d1 (patch) | |
tree | b335147f6d0639a0de78fbd3f4b90e1aa19f01da | |
parent | 7248f70ce4c9391abc3355a93aac2004e0eb7018 (diff) |
added ifdefs
-rw-r--r-- | src/tui.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,8 @@ #include <ncurses.h> #include <wchar.h> +#ifdef XLUA #include <lua.h> +#endif #include "color.h" #define DEFAULT_COLOR -1 @@ -34,7 +36,9 @@ int ui_get_formated_value(struct ent ** p, int col, char * value); void ui_handle_cursor(); void yyerror(char *err); // error routine for yacc (gram.y) void ui_show_text(char * val); +#ifdef XLUA void ui_bail(lua_State *L, char * msg); +#endif char * ui_query(char * initial_msg); void ui_start_colors(); void ui_sc_msg(char * s, int type, ...); |