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)
@@ -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>
@@ -53,6 +53,7 @@
#include "../../script_cb.h"
#include "../../lib/kcore/faked_msg.h"
#include "../../lib/kcore/hash_func.h"
#include "../../mem/mem.h"
#include "../../lib/kmi/mi.h"
#include "../../lvalue.h"
@@ -38,6 +38,7 @@
#include "../../modules/tm/tm_load.h"
#include "../../lib/kmi/tree.h"
#include "../../lib/kcore/km_ut.h"
#include "dlg_timer.h"
#include "dlg_hash.h"
#include "dlg_req_within.h"
@@ -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;
@@ -28,6 +28,7 @@
#include "../../dprint.h"
#include "../../mod_fix.h"
#include "t_var.h"
#include "t_mi.h"