Module: kamailio
Branch: 5.1
Commit: a40d65a8ae22d900118f92e3010e383825db9ebd
URL:
https://github.com/kamailio/kamailio/commit/a40d65a8ae22d900118f92e3010e383…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-08-06T09:48:58+02:00
db_mysql: remove build warning, unneeded include (#1777)
db_mysql: mysql_version.h is already included at mysql.h (GH #1777)
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>
(cherry picked from commit 57263490bd1dedbb4b7fdad6046880980feea040)
---
Modified: src/modules/db_mysql/km_dbase.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a40d65a8ae22d900118f92e3010e383…
Patch:
https://github.com/kamailio/kamailio/commit/a40d65a8ae22d900118f92e3010e383…
---
diff --git a/src/modules/db_mysql/km_dbase.c b/src/modules/db_mysql/km_dbase.c
index aa960f4963..850dd89d9c 100644
--- a/src/modules/db_mysql/km_dbase.c
+++ b/src/modules/db_mysql/km_dbase.c
@@ -35,7 +35,6 @@
#include <string.h>
#include <mysql.h>
#include <errmsg.h>
-#include <mysql_version.h>
#include "../../core/mem/mem.h"
#include "../../core/dprint.h"
#include "../../core/async_task.h"