aboutsummaryrefslogtreecommitdiff
path: root/readline/examples/histexamp.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-08-12 10:24:03 -0600
committerTom Tromey <tom@tromey.com>2019-08-12 10:57:56 -0600
commitcb41b9e70e6fbd1cb603bb9ba4372fbb8ae87b20 (patch)
tree6b03a978514e9f7df56c1243a3796776ecc65198 /readline/examples/histexamp.c
parentca2589f3bbad1e151abbb293d4c43a87b7a4d5ec (diff)
downloadbinutils-cb41b9e70e6fbd1cb603bb9ba4372fbb8ae87b20.zip
binutils-cb41b9e70e6fbd1cb603bb9ba4372fbb8ae87b20.tar.gz
binutils-cb41b9e70e6fbd1cb603bb9ba4372fbb8ae87b20.tar.bz2
Import readline 8.0
This imports readline 8.0. readline/ChangeLog.gdb 2019-08-12 Tom Tromey <tom@tromey.com> * Imported readline 8.0.
Diffstat (limited to 'readline/examples/histexamp.c')
-rw-r--r--readline/examples/histexamp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/readline/examples/histexamp.c b/readline/examples/histexamp.c
index 3b43674..309d769 100644
--- a/readline/examples/histexamp.c
+++ b/readline/examples/histexamp.c
@@ -27,8 +27,11 @@
# include <readline/history.h>
#endif
+#include <unistd.h>
+#include <stdlib.h>
#include <string.h>
+int
main (argc, argv)
int argc;
char **argv;