summaryrefslogtreecommitdiff
path: root/libelf/elf32_updatefile.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/elf32_updatefile.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/elf32_updatefile.c')
-rw-r--r--libelf/elf32_updatefile.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libelf/elf32_updatefile.c b/libelf/elf32_updatefile.c
index 1ff58900..46afa1f4 100644
--- a/libelf/elf32_updatefile.c
+++ b/libelf/elf32_updatefile.c
@@ -37,10 +37,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
-#include <sys/mman.h>
-#include <system.h>
#include "libelfP.h"