Module: sip-router
Branch: master
Commit: 9c5da73226b3124c888e434e3df55cc1466b3b07
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9c5da73…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Apr 14 10:39:47 2010 +0200
mysql: include dprint.h
- several files were missing include of dprint.h
- could be the cause for missing symbol reported by Pratab Ali for
opensuse
---
modules/db_mysql/km_db_mysql.c | 1 +
modules/db_mysql/my_cmd.c | 1 +
modules/db_mysql/mysql_mod.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/db_mysql/km_db_mysql.c b/modules/db_mysql/km_db_mysql.c
index eb0ca05..335f0a1 100644
--- a/modules/db_mysql/km_db_mysql.c
+++ b/modules/db_mysql/km_db_mysql.c
@@ -42,6 +42,7 @@
*/
#include "../../sr_module.h"
+#include "../../dprint.h"
#include "km_dbase.h"
#include "km_db_mysql.h"
diff --git a/modules/db_mysql/my_cmd.c b/modules/db_mysql/my_cmd.c
index f761265..5485df7 100644
--- a/modules/db_mysql/my_cmd.c
+++ b/modules/db_mysql/my_cmd.c
@@ -44,6 +44,7 @@
#include "../../str.h"
#include "../../lib/srdb2/db_cmd.h"
#include "../../ut.h"
+#include "../../dprint.h"
#include <strings.h>
#include <stdio.h>
diff --git a/modules/db_mysql/mysql_mod.c b/modules/db_mysql/mysql_mod.c
index bfd903d..e0ebe7f 100644
--- a/modules/db_mysql/mysql_mod.c
+++ b/modules/db_mysql/mysql_mod.c
@@ -47,6 +47,7 @@
#include "../../sr_module.h"
#include "../../lib/srdb2/db.h"
+#include "../../dprint.h"
int my_ping_interval = 5 * 60; /* Default is 5 minutes */
unsigned int my_connect_to = 2; /* 2 s by default */