summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
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