summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>1999-07-09 03:34:09 +0000
committerTim Potter <tpot@samba.org>1999-07-09 03:34:09 +0000
commit59bd1de1a56870490d48c6fcf44b53f88ab22108 (patch)
tree9a679f248ee3adb3b3d4710f1d165abb4f80f0b1 /source3/include/includes.h
parent60e08bd35e78bff3a395090c1d41bb16da0252a5 (diff)
downloadsamba-59bd1de1a56870490d48c6fcf44b53f88ab22108.tar.gz
samba-59bd1de1a56870490d48c6fcf44b53f88ab22108.tar.bz2
samba-59bd1de1a56870490d48c6fcf44b53f88ab22108.zip
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)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h8
1 files changed, 8 insertions, 0 deletions
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