[sr-dev] git:master:8a8ed04d: cnxcc: incude stdlib.h to get rid of compile warnings for malloc/free

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 30 15:05:04 CEST 2016


Module: kamailio
Branch: master
Commit: 8a8ed04d2bbd0547a08eeec328268cd171cc9419
URL: https://github.com/kamailio/kamailio/commit/8a8ed04d2bbd0547a08eeec328268cd171cc9419

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-03-30T15:03:47+02:00

cnxcc: incude stdlib.h to get rid of compile warnings for malloc/free

---

Modified: modules/cnxcc/cnxcc_check.c

---

Diff:  https://github.com/kamailio/kamailio/commit/8a8ed04d2bbd0547a08eeec328268cd171cc9419.diff
Patch: https://github.com/kamailio/kamailio/commit/8a8ed04d2bbd0547a08eeec328268cd171cc9419.patch

---

diff --git a/modules/cnxcc/cnxcc_check.c b/modules/cnxcc/cnxcc_check.c
index e2ca54c..656bf83 100644
--- a/modules/cnxcc/cnxcc_check.c
+++ b/modules/cnxcc/cnxcc_check.c
@@ -23,6 +23,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 
 #include "cnxcc_mod.h"
 #include "cnxcc.h"




More information about the sr-dev mailing list