summaryrefslogtreecommitdiff
path: root/multimedia/kodi/files/patch-xbmc_dbwrappers_mysqldataset.h
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/kodi/files/patch-xbmc_dbwrappers_mysqldataset.h')
-rw-r--r--multimedia/kodi/files/patch-xbmc_dbwrappers_mysqldataset.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/kodi/files/patch-xbmc_dbwrappers_mysqldataset.h b/multimedia/kodi/files/patch-xbmc_dbwrappers_mysqldataset.h
new file mode 100644
index 000000000000..8138f5c9d26e
--- /dev/null
+++ b/multimedia/kodi/files/patch-xbmc_dbwrappers_mysqldataset.h
@@ -0,0 +1,14 @@
+--- xbmc/dbwrappers/mysqldataset.h.orig 2020-05-19 23:04:15 UTC
++++ xbmc/dbwrappers/mysqldataset.h
+@@ -10,10 +10,8 @@
+
+ #include <stdio.h>
+ #include "dataset.h"
+-#ifdef HAS_MYSQL
++#if defined(HAS_MYSQL) || defined(HAS_MARIADB)
+ #include "mysql/mysql.h"
+-#elif defined(HAS_MARIADB)
+-#include <mariadb/mysql.h>
+ #endif
+
+ namespace dbiplus {