From 59bd1de1a56870490d48c6fcf44b53f88ab22108 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 9 Jul 1999 03:34:09 +0000 Subject: Put back in GNU readline support for smbclient accidentally trashed by tridge in the clientgen.c to clientutil.c conversion. (This used to be commit 26d66071fbac2c46445153c214bb13d587a67b49) --- source3/include/includes.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source3/include/includes.h') diff --git a/source3/include/includes.h b/source3/include/includes.h index 1a37eb20c1..efaebdf182 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -717,6 +717,14 @@ union semun { # undef HAVE_LIBREADLINE # endif # endif + +/* Some old versions of readline don't define a prototype for + filename_completion_function() */ + +# ifndef HAVE_READLINE_FCF_PROTO +extern char *filename_completion_function (); +# endif + #endif #ifndef HAVE_STRDUP -- cgit