summaryrefslogtreecommitdiffstats
path: root/lib/libedit/hist.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libedit/hist.h')
-rw-r--r--lib/libedit/hist.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libedit/hist.h b/lib/libedit/hist.h
index 23b1e03..6ca6877 100644
--- a/lib/libedit/hist.h
+++ b/lib/libedit/hist.h
@@ -1,4 +1,4 @@
-/* $NetBSD: hist.h,v 1.18 2016/02/17 19:47:49 christos Exp $ */
+/* $NetBSD: hist.h,v 1.15 2016/01/30 15:05:27 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -41,6 +41,8 @@
#ifndef _h_el_hist
#define _h_el_hist
+#include "histedit.h"
+
typedef int (*hist_fun_t)(void *, TYPE(HistEvent) *, int, ...);
typedef struct el_history_t {
@@ -81,7 +83,7 @@ protected int hist_set(EditLine *, hist_fun_t, void *);
protected int hist_command(EditLine *, int, const Char **);
protected int hist_enlargebuf(EditLine *, size_t, size_t);
#ifdef WIDECHAR
-protected wchar_t *hist_convert(EditLine *, int, void *);
+protected wchar_t *hist_convert(EditLine *, int, void *);
#endif
#endif /* _h_el_hist */
OpenPOWER on IntegriCloud