summaryrefslogtreecommitdiffhomepage
path: root/mixutils
diff options
context:
space:
mode:
Diffstat (limited to 'mixutils')
-rw-r--r--mixutils/mixvm_command.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mixutils/mixvm_command.c b/mixutils/mixvm_command.c
index d13e5ac..610f79a 100644
--- a/mixutils/mixvm_command.c
+++ b/mixutils/mixvm_command.c
@@ -30,7 +30,10 @@
#ifdef HAVE_LIBREADLINE
# include <readline/readline.h>
# include <readline/history.h>
-#else
+# ifndef HAVE_RL_COMPLETION_MATCHES /* old versions of rl don't use rl_ */
+# define rl_completion_matches completion_matches
+# endif
+#else /* ! HAVE_LIBREADLINE */
typedef int Function ();
#endif /* HAVE_LIBREADLINE */