mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-19 22:10:19 +02:00
add missing headers to malloc.h
This commit is contained in:
parent
2b0f7aa985
commit
1ea997b887
2 changed files with 4 additions and 2 deletions
2
malloc.c
2
malloc.c
|
@ -9,8 +9,6 @@
|
|||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#include <malloc.h>
|
||||
|
||||
#include "third_party/libdivide.h"
|
||||
|
||||
#include "malloc.h"
|
||||
|
|
4
malloc.h
4
malloc.h
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue