diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2023-02-21 19:40:44 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2023-02-21 19:40:44 +0100 |
commit | ce5907fc40d5e355872a4288fde3de7586e6e766 (patch) | |
tree | 27a97410c9b575ea2341ff64a5b5067e18445c09 /src/patchelf.h | |
parent | 8d3188daa7fbefb93e8d967d2967ca45934c30aa (diff) | |
download | patchelf-ce5907fc40d5e355872a4288fde3de7586e6e766.tar.gz |
Add required includes in header file
Enable to parse the header file on its own, e.g. for language servers
(clangd).
Diffstat (limited to 'src/patchelf.h')
-rw-r--r-- | src/patchelf.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/patchelf.h b/src/patchelf.h index c3096ff..1308815 100644 --- a/src/patchelf.h +++ b/src/patchelf.h @@ -1,3 +1,12 @@ +#include <map> +#include <memory> +#include <optional> +#include <set> +#include <string> +#include <vector> + +#include "elf.h" + using FileContents = std::shared_ptr<std::vector<unsigned char>>; #define ElfFileParams class Elf_Ehdr, class Elf_Phdr, class Elf_Shdr, class Elf_Addr, class Elf_Off, class Elf_Dyn, class Elf_Sym, class Elf_Verneed, class Elf_Versym |