diff --git a/avro/maxavro_file.c b/avro/maxavro_file.c index 8e94da357..fc45d2046 100644 --- a/avro/maxavro_file.c +++ b/avro/maxavro_file.c @@ -12,7 +12,6 @@ */ #include "maxavro.h" -#include "skygw_utils.h" #include #include #include @@ -52,7 +51,7 @@ bool maxavro_verify_block(MAXAVRO_FILE *file) { if (ferror(file->file)) { - char err[STRERROR_BUFLEN]; + char err[MXS_STRERROR_BUFLEN]; MXS_ERROR("Failed to read file: %d %s", errno, strerror_r(errno, err, sizeof(err))); } else if (rc > 0 || !feof(file->file))