Explorar o código

rtpengine: chef for SHM_MEM define for kamailio embedded mode

- allow compilation with system malloc for private memory
Daniel-Constantin Mierla %!s(int64=11) %!d(string=hai) anos
pai
achega
ecfe8a90dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/rtpengine/bencode.h

+ 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"