add missing headers to malloc.h

This commit is contained in:
Daniel Micay 2018-08-30 08:48:09 -04:00
parent 2b0f7aa985
commit 1ea997b887
2 changed files with 4 additions and 2 deletions

View File

@ -9,8 +9,6 @@
#include <unistd.h>
#include <pthread.h>
#include <malloc.h>
#include "third_party/libdivide.h"
#include "malloc.h"

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