Browse Source

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 năm trước cách đây
mục cha
commit
3e391a1dac
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>