Browse Source

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)
Andrei Pelinescu-Onciul 15 năm trước cách đây
mục cha
commit
4380fb9b63

+ 1 - 0
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>
 

+ 1 - 0
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"

+ 1 - 0
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"

+ 1 - 0
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;

+ 1 - 0
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"