Hello,
thanks for checking on bsd, can you please sent the patch as attachment?
Because it can saved locally and applied easier.
Cheers,
Daniel
On 3/15/13 8:43 AM, Victor V. Kustov wrote:
diff --git a/modules/ims_icscf/cxdx_lir.c
b/modules/ims_icscf/cxdx_lir.c
index faabd85..24686e7 100644
--- a/modules/ims_icscf/cxdx_lir.c
+++ b/modules/ims_icscf/cxdx_lir.c
@@ -51,6 +51,11 @@
#include "mod.h"
#include "location.h"
+#if defined (__OS_freebsd)
+#include "sys/limits.h"
+#define MAXINT INT_MAX
+#endif
+
//we use pseudo variables to communicate back to config file this takes the result and
converys to a return code, publishes it a pseudo variable
int create_lia_return_code(int result) {
int rc;
diff --git a/modules/ims_icscf/scscf_list.c b/modules/ims_icscf/scscf_list.c
index bd5216c..8b6b79c 100644
--- a/modules/ims_icscf/scscf_list.c
+++ b/modules/ims_icscf/scscf_list.c
@@ -47,6 +47,11 @@
#include "db.h"
#include "../../lib/ims/useful_defs.h"
+#if defined (__OS_freebsd)
+#include "sys/limits.h"
+#define MAXINT INT_MAX
+#endif
+
extern int scscf_entry_expiry; //time for scscf entries to remain the scscf_list
extern struct tm_binds tmb; //Structure with pointers to tm funcs
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
-
http://conference.kamailio.com -