summaryrefslogtreecommitdiff
path: root/libelf/libelfP.h
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/libelfP.h
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/libelfP.h')
-rw-r--r--libelf/libelfP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libelf/libelfP.h b/libelf/libelfP.h
index 56331f45..d88a613c 100644
--- a/libelf/libelfP.h
+++ b/libelf/libelfP.h
@@ -39,6 +39,7 @@
#include <stdio.h>
#include <string.h>
+#include <system.h>
/* Helper Macros to write 32 bit and 64 bit functions. */
#define __elfw2_(Bits, Name) __elf##Bits##_##Name