diff options
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r-- | source3/include/includes.h | 8 |
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 |