diff --git a/bin/debugger.cpp b/bin/debugger.cpp index 26e9eee..827cb56 100644 --- a/bin/debugger.cpp +++ b/bin/debugger.cpp @@ -43,6 +43,7 @@ #include #include +#include #include "loader.h" @@ -1225,7 +1226,7 @@ namespace { { rl_readline_name = (char *)"mpw"; rl_attempted_completion_function = mpw_attempted_completion_function; - rl_completion_entry_function = (Function *)mpw_completion_entry_function; + rl_completion_entry_function = (rl_compentry_func_t *)mpw_completion_entry_function; } }