mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Protect page-aligned and unprotect before freeing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30719 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f98d543fc1
commit
37078c8e66
1 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,10 @@
|
|||
#include <sys/mman.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_UNISTD_H)
|
||||
#import <unistd.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_MMAP)
|
||||
# if !defined(MAP_ANONYMOUS)
|
||||
# if defined(MAP_ANON)
|
||||
|
|
Loading…
Reference in a new issue