aboutsummaryrefslogtreecommitdiff
path: root/sbin/gvinum/gvinum.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2011-04-05 18:41:01 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2011-04-05 18:41:01 +0000
commit1e3f14466be22d4fb236ff5bbd2fc725cba4b4c2 (patch)
tree03c22bc05677cdacb03efd8c11ec7bed49f3df18 /sbin/gvinum/gvinum.c
parent9abd8cd05b764311626e324b82feefbf0d248984 (diff)
parentc83d78a78592d3fbea7064fc85784b780e912284 (diff)
downloadsrc-1e3f14466be22d4fb236ff5bbd2fc725cba4b4c2.tar.gz
src-1e3f14466be22d4fb236ff5bbd2fc725cba4b4c2.zip
* Add the readline(3) API to libedit. The libedit versions of
{readline,history}.h are in /usr/include/edit so as to not conflict with the GNU libreadline versions. To use the libedit readline(3) one should add "-I/usr/include/edit" to their Makefile (spelled "-I${DESTDIR}/${INCLUDEDIR}/edit" within the FreeBSD source tree). * Enable its use in the BSD licensed utilities that support readline(3). * To make it easier to sync libedit development with NetBSD, histedit.h is moved into libedit's directory as history shows shown we keep merging it into that location. Obtained from: NetBSD Sponsored by: Juniper Networks
Notes
Notes: svn path=/head/; revision=220370
Diffstat (limited to 'sbin/gvinum/gvinum.c')
-rw-r--r--sbin/gvinum/gvinum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/gvinum/gvinum.c b/sbin/gvinum/gvinum.c
index f936a58cda7c..203976100c0e 100644
--- a/sbin/gvinum/gvinum.c
+++ b/sbin/gvinum/gvinum.c
@@ -50,6 +50,7 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <paths.h>
#include <readline/readline.h>
#include <readline/history.h>