summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alkondratenko@gmail.com>2021-02-21 13:28:48 -0800
committerAliaksey Kandratsenka <alkondratenko@gmail.com>2021-02-21 14:28:25 -0800
commit2e7094a86215118f3dcd3ad6f2c9099dc409ecc5 (patch)
tree652030bafa403ed4b3b1a1e2991f7139b608e4ed
parent35301e2e59b30b7379981e60f3046124a2dfd68e (diff)
downloadgperftools-2e7094a86215118f3dcd3ad6f2c9099dc409ecc5.tar.gz
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.
-rw-r--r--src/malloc_hook_mmap_linux.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/malloc_hook_mmap_linux.h b/src/malloc_hook_mmap_linux.h
index 927c533..cbf3782 100644
--- a/src/malloc_hook_mmap_linux.h
+++ b/src/malloc_hook_mmap_linux.h
@@ -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.