diff --git a/extra/perror.c b/extra/perror.c index 612456eaff3..237b2582d43 100644 --- a/extra/perror.c +++ b/extra/perror.c @@ -32,6 +32,7 @@ static my_bool verbose, print_all_codes; #include "../include/my_base.h" #include "../mysys/my_handler_errors.h" +#include "../include/my_handler.h" #ifdef WITH_NDBCLUSTER_STORAGE_ENGINE static my_bool ndb_code;