add missing headers to malloc.h

This commit is contained in:
Daniel Micay committed 2018-08-30 08:48:43 -04:00
1 parent 2b0f7aa985
commit 1ea997b887
2 files changed
+4 -2

No files matched your search

-2
View File
@@ -9,8 +9,6 @@
#include <unistd.h>
#include <pthread.h>
#include <malloc.h>
#include "third_party/libdivide.h"
#include "malloc.h"
+4
View File
@@ -1,6 +1,10 @@
#ifndef ALLOCATOR_H
#define ALLOCATOR_H
#include <stdio.h>
#include <malloc.h>
#ifndef H_MALLOC_PREFIX
#define h_malloc malloc
#define h_calloc calloc