Răsfoiți Sursa

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 ani în urmă
părinte
comite
3e391a1dac
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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>