]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - lib/readline/examples/histexamp.c
Imported from ../bash-2.05.tar.gz.
[thirdparty/bash.git] / lib / readline / examples / histexamp.c
index eceb66df19e1c41b25007b2c00358543444c34e0..fa0de1bea3ba5f521bb20e99e03712a71710eb61 100644 (file)
@@ -1,4 +1,14 @@
-main ()
+#include <stdio.h>
+
+#ifdef READLINE_LIBRARY
+#  include "history.h"
+#else
+#  include <readline/history.h>
+#endif
+
+main (argc, argv)
+     int argc;
+     char **argv;
 {
   char line[1024], *t;
   int len, done = 0;