summaryrefslogtreecommitdiffstats
path: root/linenoise/linenoise.h
diff options
context:
space:
mode:
Diffstat (limited to 'linenoise/linenoise.h')
-rw-r--r--linenoise/linenoise.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linenoise/linenoise.h b/linenoise/linenoise.h
index 7fef68d9..bc72eaa7 100644
--- a/linenoise/linenoise.h
+++ b/linenoise/linenoise.h
@@ -92,6 +92,8 @@ typedef struct lino_os {
wide_disp \
}
+#if HAVE_TERMIOS
+
typedef struct lino_completions {
size_t len;
wchar_t **cvec;
@@ -102,6 +104,8 @@ typedef void lino_compl_cb_t(const wchar_t *, lino_completions_t *, void *ctx);
void lino_set_completion_cb(lino_t *, lino_compl_cb_t *, void *ctx);
void lino_add_completion(lino_completions_t *, const wchar_t *);
+#endif
+
void lino_init(lino_os_t *);
lino_t *lino_make(mem_t *istream, mem_t *ostream);
lino_t *lino_copy(lino_t *);