summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/readline.c b/source3/lib/readline.c
index 1b81c68d03..325b70d2cf 100644
--- a/source3/lib/readline.c
+++ b/source3/lib/readline.c
@@ -26,7 +26,7 @@
# define RL_COMPLETION_CAST (rl_completion_func_t *)
#else
/* This type is missing from libreadline<4.0 (approximately) */
-# define RL_COMPLETION_FUNC_T
+# define RL_COMPLETION_CAST
#endif /* HAVE_NEW_LIBREADLINE */