mirror of
https://github.com/gperftools/gperftools
synced 2025-02-28 01:50:28 +00:00
liberate malloc_hook_mmap_linux.h from linux_syscall_support
It was not used some time now, as we're rightfully trusting libc syscall wrapper instead.
This commit is contained in:
parent
35301e2e59
commit
2e7094a862
@ -40,11 +40,10 @@
|
||||
# error Should only be including malloc_hook_mmap_linux.h on linux systems.
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
#include <syscall.h>
|
||||
#include <sys/mman.h>
|
||||
#include <errno.h>
|
||||
#include "base/linux_syscall_support.h"
|
||||
#include <sys/mman.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// The x86-32 case and the x86-64 case differ:
|
||||
// 32b has a mmap2() syscall, 64b does not.
|
||||
|
Loading…
Reference in New Issue
Block a user