summaryrefslogtreecommitdiff
path: root/libelf/elf_end.c
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2022-10-16 00:36:20 +0800
committerMark Wielaard <mark@klomp.org>2022-10-16 22:34:17 +0200
commita6b2ec76d51386dd06ab86d46eabbcf5140fe80d (patch)
tree13ec3814bf55e17fb9352a7c37a7d0ae7abc222d /libelf/elf_end.c
parent2a4ce08fafcf76d866ae5f6b394389d8d93aa0cb (diff)
downloadelfutils-a6b2ec76d51386dd06ab86d46eabbcf5140fe80d.tar.gz
move platform depended include into system.h of libelf
All of these files either #include <system.h> directly or #include "libelfP.h" And now "libelfP.h also #include <system.h>, so the platform depended include can be moved to system.h safely Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Diffstat (limited to 'libelf/elf_end.c')
-rw-r--r--libelf/elf_end.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libelf/elf_end.c b/libelf/elf_end.c
index 160f0b88..5c451f36 100644
--- a/libelf/elf_end.c
+++ b/libelf/elf_end.c
@@ -34,7 +34,6 @@
#include <assert.h>
#include <stddef.h>
#include <stdlib.h>
-#include <sys/mman.h>
#include "libelfP.h"