Module: sip-router
Branch: master
Commit: 4380fb9b63d58462f67ea972467556064b7cf0bd
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4380fb9…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Wed Aug 18 20:06:25 2010 +0200
modules*: add k stats. includes where needed
Add k statistics includes (../../lib/kcore/kstats_wrapper.h) for
modules using k statistics and missing them (needed after no
longer automatically including k stats via sr_module.h)
---
modules/sl/sl_stats.c | 1 +
modules_k/dialog/dialog.c | 1 +
modules_k/dialog/dlg_req_within.c | 1 +
modules_k/snmpstats/snmpSIPStatusCodesTable.c | 1 +
modules_k/tmx/tmx_mod.c | 1 +
5 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/modules/sl/sl_stats.c b/modules/sl/sl_stats.c
index ab55134..7b3ff53 100644
--- a/modules/sl/sl_stats.c
+++ b/modules/sl/sl_stats.c
@@ -33,6 +33,7 @@
#include "../../config.h"
#include "../../pt.h"
#include "sl_stats.h"
+#include "../../lib/kcore/kstats_wrapper.h"
#include <strings.h>
#include <stdio.h>
diff --git a/modules_k/dialog/dialog.c b/modules_k/dialog/dialog.c
index 0ca60b4..8cada91 100644
--- a/modules_k/dialog/dialog.c
+++ b/modules_k/dialog/dialog.c
@@ -53,6 +53,7 @@
#include "../../script_cb.h"
#include "../../lib/kcore/faked_msg.h"
#include "../../lib/kcore/hash_func.h"
+#include "../../lib/kcore/kstats_wrapper.h"
#include "../../mem/mem.h"
#include "../../lib/kmi/mi.h"
#include "../../lvalue.h"
diff --git a/modules_k/dialog/dlg_req_within.c b/modules_k/dialog/dlg_req_within.c
index 3b6c57d..7d50926 100644
--- a/modules_k/dialog/dlg_req_within.c
+++ b/modules_k/dialog/dlg_req_within.c
@@ -38,6 +38,7 @@
#include "../../modules/tm/tm_load.h"
#include "../../lib/kmi/tree.h"
#include "../../lib/kcore/km_ut.h"
+#include "../../lib/kcore/kstats_wrapper.h"
#include "dlg_timer.h"
#include "dlg_hash.h"
#include "dlg_req_within.h"
diff --git a/modules_k/snmpstats/snmpSIPStatusCodesTable.c
b/modules_k/snmpstats/snmpSIPStatusCodesTable.c
index eda8fbc..6686c05 100644
--- a/modules_k/snmpstats/snmpSIPStatusCodesTable.c
+++ b/modules_k/snmpstats/snmpSIPStatusCodesTable.c
@@ -84,6 +84,7 @@
#include "snmpSIPStatusCodesTable.h"
#include "snmpstats_globals.h"
+#include "../../lib/kcore/statistics.h"
static netsnmp_handler_registration *my_handler = NULL;
static netsnmp_table_array_callbacks cb;
diff --git a/modules_k/tmx/tmx_mod.c b/modules_k/tmx/tmx_mod.c
index 3714fed..6e6f758 100644
--- a/modules_k/tmx/tmx_mod.c
+++ b/modules_k/tmx/tmx_mod.c
@@ -28,6 +28,7 @@
#include "../../dprint.h"
#include "../../mod_fix.h"
#include "../../modules/tm/tm_load.h"
+#include "../../lib/kcore/kstats_wrapper.h"
#include "t_var.h"
#include "t_mi.h"