summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormongo <mongo@mongos-iMac.local>2017-04-06 19:27:09 -0400
committermongo <mongo@mongos-iMac.local>2017-04-06 19:27:09 -0400
commitd5c9060e33323c5e3d3deb4ba94c1768e5aa62d1 (patch)
treeb335147f6d0639a0de78fbd3f4b90e1aa19f01da
parent7248f70ce4c9391abc3355a93aac2004e0eb7018 (diff)
added ifdefs
-rw-r--r--src/tui.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tui.h b/src/tui.h
index 7869eda..87d215c 100644
--- a/src/tui.h
+++ b/src/tui.h
@@ -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, ...);