diff options
| author | Yonggang Luo <[email protected]> | 2022-10-16 00:36:20 +0800 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2022-10-16 22:34:17 +0200 |
| commit | a6b2ec76d51386dd06ab86d46eabbcf5140fe80d (patch) | |
| tree | 13ec3814bf55e17fb9352a7c37a7d0ae7abc222d /libelf/elf_update.c | |
| parent | 2a4ce08fafcf76d866ae5f6b394389d8d93aa0cb (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_update.c')
| -rw-r--r-- | libelf/elf_update.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libelf/elf_update.c b/libelf/elf_update.c index 97ca9ca9..56af3a1c 100644 --- a/libelf/elf_update.c +++ b/libelf/elf_update.c @@ -33,8 +33,6 @@ #include <libelf.h> #include <fcntl.h> -#include <unistd.h> -#include <sys/mman.h> #include <sys/stat.h> #include "libelfP.h" |
