mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-18 22:20:23 -04:00
clean up includes and remove non-portable includes
This marginally increases the portability of hardened_malloc, eg. on OSX.
This commit is contained in:
parent
943704de7c
commit
b511696c55
14 changed files with 17 additions and 13 deletions
|
@ -1,7 +1,9 @@
|
|||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(__GLIBC__) || defined(__ANDROID__)
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
#include "test_util.h"
|
||||
#include "../util.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue