summaryrefslogtreecommitdiff
path: root/source3/include
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
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')
-rw-r--r--source3/include/config.h.in4
-rw-r--r--source3/include/includes.h8
2 files changed, 12 insertions, 0 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index 6c4dd746da..81fe46d4d8 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -132,6 +132,7 @@
#undef SIZEOF_OFF_T
#undef STAT_STATVFS64
#undef HAVE_LIBREADLINE
+#undef HAVE_READLINE_FCF_PROTO
#undef HAVE_KERNEL_OPLOCKS
#undef HAVE_IRIX_SPECIFIC_CAPABILITIES
#undef HAVE_INT16_FROM_RPC_RPC_H
@@ -595,6 +596,9 @@
/* Define if you have the syscall function. */
#undef HAVE_SYSCALL
+/* Define if you have the tputs function. */
+#undef HAVE_TPUTS
+
/* Define if you have the utime function. */
#undef HAVE_UTIME
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