2
0
Эх сурвалжийг харах

rtpengine: chef for SHM_MEM define for kamailio embedded mode

- allow compilation with system malloc for private memory
Daniel-Constantin Mierla 11 жил өмнө
parent
commit
ecfe8a90dc

+ 1 - 1
modules/rtpengine/bencode.h

@@ -4,7 +4,7 @@
 #include <sys/uio.h>
 #include <string.h>
 
-#if defined(PKG_MALLOC) || defined(pkg_malloc)
+#if defined(SHM_MEM) || defined(PKG_MALLOC) || defined(pkg_malloc)
 /* kamailio */
 # include "../../mem/mem.h"
 # include "../../str.h"