add missing headers to malloc.h
This commit is contained in:
2
malloc.c
2
malloc.c
@@ -9,8 +9,6 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
#include <malloc.h>
|
|
||||||
|
|
||||||
#include "third_party/libdivide.h"
|
#include "third_party/libdivide.h"
|
||||||
|
|
||||||
#include "malloc.h"
|
#include "malloc.h"
|
||||||
|
4
malloc.h
4
malloc.h
@@ -1,6 +1,10 @@
|
|||||||
#ifndef ALLOCATOR_H
|
#ifndef ALLOCATOR_H
|
||||||
#define ALLOCATOR_H
|
#define ALLOCATOR_H
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#include <malloc.h>
|
||||||
|
|
||||||
#ifndef H_MALLOC_PREFIX
|
#ifndef H_MALLOC_PREFIX
|
||||||
#define h_malloc malloc
|
#define h_malloc malloc
|
||||||
#define h_calloc calloc
|
#define h_calloc calloc
|
||||||
|
Reference in New Issue
Block a user