summaryrefslogtreecommitdiffstats
path: root/src/input.h
diff options
context:
space:
mode:
authorandmarti1424 <andmarti@gmail.com>2017-03-17 22:45:07 -0300
committerandmarti1424 <andmarti@gmail.com>2017-03-17 22:45:07 -0300
commitcefe73bab1dc159ec96205862a107cf40508b816 (patch)
tree5acdb50d5fcab622f19e45bef88a120e029dffba /src/input.h
parenta6c36fcff67200304a336f49a78d6dbe12c7dcba (diff)
FIx when not building with INS_HISTORY_FILE
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input.h b/src/input.h
index 83e62cf..346afae 100644
--- a/src/input.h
+++ b/src/input.h
@@ -6,7 +6,12 @@ extern int multiplier; // Multipl
extern int command_pending; // Command pending
extern WINDOW * input_win;
extern struct block * lastcmd_buffer;
+#ifdef HISTORY_FILE
extern struct history * commandline_history;
+#endif
+#ifdef INS_HISTORY_FILE
+extern struct history * insert_history;
+#endif
void fix_timeout(struct timeval * start_tv); // Handle timeout of stdin
void handle_input(struct block * buffer);