Merge pull request #135 from szabadka/master
Fix malloc.h and stdlib.h includes.
diff --git a/dec/decode.c b/dec/decode.c
index eaa80e1..b83746b 100644
--- a/dec/decode.c
+++ b/dec/decode.c
@@ -13,7 +13,6 @@
limitations under the License.
*/
-#include <malloc.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/enc/streams.cc b/enc/streams.cc
index c5a9824..edb17c3 100644
--- a/enc/streams.cc
+++ b/enc/streams.cc
@@ -18,6 +18,7 @@
#include "./streams.h"
#include <assert.h>
+#include <stdlib.h>
#include <string.h>
namespace brotli {