소스 검색

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>