clean up includes and remove non-portable includes

This marginally increases the portability of hardened_malloc,
eg. on OSX.
This commit is contained in:
jvoisin 2022-02-07 11:54:57 +01:00 committed by Daniel Micay
parent 943704de7c
commit b511696c55
14 changed files with 17 additions and 13 deletions

View file

@ -1,7 +1,10 @@
#include <errno.h>
#include <sys/mman.h>
#ifdef LABEL_MEMORY
#include <sys/prctl.h>
#endif
#ifndef PR_SET_VMA
#define PR_SET_VMA 0x53564d41