mysql_version.h is already included at mysql.h
In file included from km_dbase.c:38: /usr/include/mariadb/mysql_version.h:3:2: warning: This file should not be included by clients, include only <mysql.h> [-W#warnings] #warning This file should not be included by clients, include only <mysql.h> ^ 1 warning generated.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1777
-- Commit Summary --
* db_mysql: remove build warning, unneeded include
-- File Changes --
M src/modules/db_mysql/km_dbase.c (1)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1777.patch https://github.com/kamailio/kamailio/pull/1777.diff
henningw approved this pull request.
This was not touched for a long time, but the change looks good to me. Compile test locally on my machine with mysql worked as well. This change was also done in other projects because of the same reason.
Merged #1777 into master.