summaryrefslogtreecommitdiffstats
path: root/libelf
diff options
context:
space:
mode:
authorPaul Pluzhnikov <[email protected]>2023-11-14 22:20:38 +0000
committerMark Wielaard <[email protected]>2023-11-15 13:04:22 +0100
commite49816db04f30921ea756c812d6d181559e6ce67 (patch)
tree7eeac28b7c4a9e41bfdd685faa2a98bf12b0b477 /libelf
parentf84f1cd7e296bf223cb45b5469978d4bea82cec0 (diff)
Minor: include <stdint.h> for uintptr_t
We have a clang-tidy complaining that uintptr_t is not provided by any directly included header (it's only provided by a transitively included one). * libelf/elf_begin.c: Include <stdint.h> Signed-off-by: Paul Pluzhnikov <[email protected]>
Diffstat (limited to 'libelf')
-rw-r--r--libelf/elf_begin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libelf/elf_begin.c b/libelf/elf_begin.c
index dcaad8ee..8a49f351 100644
--- a/libelf/elf_begin.c
+++ b/libelf/elf_begin.c
@@ -38,6 +38,7 @@
#include <fcntl.h>
#include <stdbool.h>
#include <stddef.h>
+#include <stdint.h>
#include <string.h>
#include <sys/stat.h>