summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2021-03-09 12:19:52 +0300
committerAlexander Golubev <fatzer2@gmail.com>2021-03-10 04:29:42 +0300
commit9c1eb0dc5e8696cdca48ddf233fa07d491d4943a (patch)
treee6ff456d68821f0b84da1714e4cd2bc08c3266b6
parenta7ec9959cf30a10e727a32c59b1a5d5ddb809fa9 (diff)
downloadamarok-9c1eb0dc5e8696cdca48ddf233fa07d491d4943a.tar.gz
amarok-9c1eb0dc5e8696cdca48ddf233fa07d491d4943a.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 <fatzer2@gmail.com>
-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