Sfoglia il codice sorgente

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 anni fa
parent
commit
3e391a1dac
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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>