diff --git a/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h b/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h --- a/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h +++ b/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h @@ -29,7 +29,7 @@ #include #endif -#if MYSQL_VERSION_ID < 60000 +#if defined(MARIADB_VERSION_ID) || MYSQL_VERSION_ID < 60000 struct st_mysql; typedef struct st_mysql MYSQL; #else