mysql: always use `#include <mysql.h>`, rely on pkgconfig to get the correct include folder

pull/12278/head
Delyan Angelov 2021-10-23 21:22:10 +03:00
parent 008d15dcb5
commit e45cd02029
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@ module mysql
$if $pkgconfig('mysqlclient') {
#pkgconfig mysqlclient
#include <mysql/mysql.h> # Please install the libmysqlclient-dev development headers
#include <mysql.h> # Please install the libmysqlclient-dev development headers
} $else {
#pkgconfig mariadb
#include <mariadb/mysql.h> # Please install the libmariadb-dev development headers
#include <mysql.h> # Please install the libmariadb-dev development headers
}