浏览代码

rtpengine: chef for SHM_MEM define for kamailio embedded mode

- allow compilation with system malloc for private memory
Daniel-Constantin Mierla 11 年之前
父节点
当前提交
ecfe8a90dc
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"