diff options
Diffstat (limited to 'source/include/includes.h')
-rw-r--r-- | source/include/includes.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index 1a37eb20c1a..efaebdf1820 100644 --- a/source/include/includes.h +++ b/source/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 |