]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Minor: include <stdint.h> for uintptr_t
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Tue, 14 Nov 2023 22:20:38 +0000 (22:20 +0000)
committerMark Wielaard <mark@klomp.org>
Wed, 15 Nov 2023 12:04:22 +0000 (13:04 +0100)
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 <ppluzhnikov@google.com>
libelf/elf_begin.c

index dcaad8eeab8f63a715cb85a2f5028953591942ea..8a49f35125bbba8230f0cb364e0b24545af52dac 100644 (file)
@@ -38,6 +38,7 @@
 #include <fcntl.h>
 #include <stdbool.h>
 #include <stddef.h>
+#include <stdint.h>
 #include <string.h>
 #include <sys/stat.h>