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

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


Module: kamailio
Branch: 4.4
Commit: a1f27b008994f309731818649274d449e1a28f71
URL: https://github.com/kamailio/kamailio/commit/a1f27b008994f309731818649274d449e1a28f71

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

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

(cherry picked from commit 8a8ed04d2bbd0547a08eeec328268cd171cc9419)

---

Modified: modules/cnxcc/cnxcc_check.c

---

Diff:  https://github.com/kamailio/kamailio/commit/a1f27b008994f309731818649274d449e1a28f71.diff
Patch: https://github.com/kamailio/kamailio/commit/a1f27b008994f309731818649274d449e1a28f71.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