modules*: add k stats. includes where needed
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Wed, 18 Aug 2010 18:06:25 +0000 (20:06 +0200)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Wed, 18 Aug 2010 18:06:25 +0000 (20:06 +0200)
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
modules_k/dialog/dialog.c
modules_k/dialog/dlg_req_within.c
modules_k/snmpstats/snmpSIPStatusCodesTable.c
modules_k/tmx/tmx_mod.c

index ab55134..7b3ff53 100644 (file)
@@ -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>
 
index 0ca60b4..8cada91 100644 (file)
@@ -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"
index 3b6c57d..7d50926 100644 (file)
@@ -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"
index eda8fbc..6686c05 100644 (file)
@@ -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;
index 3714fed..6e6f758 100644 (file)
@@ -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"