summaryrefslogtreecommitdiffstats
path: root/libelf/elf_getshdrstrndx.c
diff options
context:
space:
mode:
authorYonggang Luo <[email protected]>2022-10-16 00:36:20 +0800
committerMark Wielaard <[email protected]>2022-10-16 22:34:17 +0200
commita6b2ec76d51386dd06ab86d46eabbcf5140fe80d (patch)
tree13ec3814bf55e17fb9352a7c37a7d0ae7abc222d /libelf/elf_getshdrstrndx.c
parent2a4ce08fafcf76d866ae5f6b394389d8d93aa0cb (diff)
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 <[email protected]>
Diffstat (limited to 'libelf/elf_getshdrstrndx.c')
-rw-r--r--libelf/elf_getshdrstrndx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libelf/elf_getshdrstrndx.c b/libelf/elf_getshdrstrndx.c
index ad884fd3..2391317b 100644
--- a/libelf/elf_getshdrstrndx.c
+++ b/libelf/elf_getshdrstrndx.c
@@ -35,9 +35,7 @@
#include <errno.h>
#include <gelf.h>
#include <stddef.h>
-#include <unistd.h>
-#include <system.h>
#include "libelfP.h"
#include "common.h"