summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <[email protected]>2021-03-09 12:19:52 +0300
committerSlávek Banko <[email protected]>2021-03-10 16:48:15 +0100
commit65c2de396ce8202dc58704c6b1f1530dfcc30b59 (patch)
treefee135741a4ecc4c9204c8daf6a3cbf31cb680bb
parentfed96eaf87a1a3553146f87f608030b27eedf42f (diff)
downloadamarok-65c2de396ce8202dc58704c6b1f1530dfcc30b59.tar.gz
amarok-65c2de396ce8202dc58704c6b1f1530dfcc30b59.zip
Fix compilation of mysql db backend against MariaDB
MariaDB's connector-c by default provides mariadb_version.h instead of mysql_version.h header, However, it's inderectly included through mysql.h in both implementation: mariadb and mysql, so remove it's direct inclussion from the source. Signed-off-by: Alexander Golubev <[email protected]> (cherry picked from commit 9c1eb0dc5e8696cdca48ddf233fa07d491d4943a)
-rw-r--r--amarok/src/collectiondb.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/amarok/src/collectiondb.cpp b/amarok/src/collectiondb.cpp
index 58ca0515..024779e4 100644
--- a/amarok/src/collectiondb.cpp
+++ b/amarok/src/collectiondb.cpp
@@ -76,7 +76,6 @@
#ifdef USE_MYSQL
#include <mysql.h>
- #include <mysql_version.h>
#endif
#ifdef USE_POSTGRESQL