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