bmsd/bms.h

changeset 551
57cb71496a9a
parent 506
8ab0e87d579e
child 567
6bf0afc33e70
--- a/bmsd/bms.h	Sun Nov 10 16:48:19 2019 +0100
+++ b/bmsd/bms.h	Sat Nov 23 11:34:33 2019 +0100
@@ -45,7 +45,12 @@
 #include <libxml/encoding.h>
 #include <libxml/xmlwriter.h>
 #include <mosquitto.h>
+#ifdef HAVE_MYSQL_MYSQL_H
 #include <mysql/mysql.h>
+#endif
+#ifdef HAVE_MARIADB_MYSQL_H
+#include <mariadb/mysql.h>
+#endif
 #include <json-c/json.h>
 
 

mercurial