summaryrefslogtreecommitdiffstats
path: root/amarok/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-09-08 19:26:24 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-09-08 19:26:24 +0200
commit7b0045aa6b827715b1e8e4efc28278ebdabb55f5 (patch)
tree48cf89c1e95788611f53c416631c6988b2ed1a08 /amarok/src
parent33c6b8103156e62f73504c1176101d52b0b82efd (diff)
downloadamarok-7b0045aa6b827715b1e8e4efc28278ebdabb55f5.tar.gz
amarok-7b0045aa6b827715b1e8e4efc28278ebdabb55f5.zip
Added detection whether the basic structure of MySQL / MariaDB
client is named st_mysql or MYSQL. This resolves FTBFS with MySQL client >= 8.0. This resolves issue #9. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'amarok/src')
-rw-r--r--amarok/src/collectiondb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/amarok/src/collectiondb.h b/amarok/src/collectiondb.h
index b9a42d53..16ab29a6 100644
--- a/amarok/src/collectiondb.h
+++ b/amarok/src/collectiondb.h
@@ -149,7 +149,7 @@ class SqliteConnection : public DbConnection
#ifdef USE_MYSQL
-typedef struct st_mysql MYSQL;
+typedef struct MYSQL_STRUCT MYSQL;
class MySqlConnection : public DbConnection
{