浏览代码

saslwrapper.cpp included malloc.h instead of stdlib.h

On the Mac, malloc.h doesn't exist by default,
but man malloc on both centos and my mac
suggested that stdlib was the right thing.
Philip Zeyliger 15 年之前
父节点
当前提交
3e391a1dac
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/ext-py/sasl-0.1.1/sasl/saslwrapper.cpp

+ 1 - 1
desktop/core/ext-py/sasl-0.1.1/sasl/saslwrapper.cpp

@@ -20,7 +20,7 @@
 #include "saslwrapper.h"
 #include <sasl/sasl.h>
 #include <sstream>
-#include <malloc.h>
+#include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <iostream>