Module: sip-router
Branch: kamailio_3.0
Commit: 7c6600c007be55263b48ea1114cbecab86347076
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7c6600c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Dec 14 20:50:17 2009 +0100
nat_traversal: link with lib kcore
- include lib/kcore/statistics.h
- fix undefined symbol for register_module_stats
- reported by Ricardo Martinez
---
modules_k/nat_traversal/Makefile | 3 +++
modules_k/nat_traversal/nat_traversal.c | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules_k/nat_traversal/Makefile b/modules_k/nat_traversal/Makefile
index 932620a..8f21003 100644
--- a/modules_k/nat_traversal/Makefile
+++ b/modules_k/nat_traversal/Makefile
@@ -12,5 +12,8 @@ LIBS=
DEFS+=-DOPENSER_MOD_INTERFACE
+SERLIBPATH=../../lib
+SER_LIBS+=$(SERLIBPATH)/kcore/kcore
+
include ../../Makefile.modules
diff --git a/modules_k/nat_traversal/nat_traversal.c
b/modules_k/nat_traversal/nat_traversal.c
index 119c592..0a04f78 100644
--- a/modules_k/nat_traversal/nat_traversal.c
+++ b/modules_k/nat_traversal/nat_traversal.c
@@ -49,6 +49,7 @@
#include "../../parser/parse_uri.h"
#include "../../parser/parse_expires.h"
#include "../../parser/contact/parse_contact.h"
+#include "../../lib/kcore/statistics.h"
#include "../dialog/dlg_load.h"
#include "../../modules/tm/tm_load.h"
#include "../sl/sl_cb.h"