X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=elfcpp%2Felfcpp_file.h;h=8dd7ad5cca1c60c522ee404a6072bfe5976633dd;hb=30d5032895e63800c5088101fb662b6b293e224a;hp=12f09250510e1eaa54b19c2089dfa7cb736d5434;hpb=c4aa1e2d740d76a37730514749c6ff2ef9f748f1;p=binutils-gdb.git diff --git a/elfcpp/elfcpp_file.h b/elfcpp/elfcpp_file.h index 12f09250510..8dd7ad5cca1 100644 --- a/elfcpp/elfcpp_file.h +++ b/elfcpp/elfcpp_file.h @@ -60,6 +60,8 @@ #include #include +#include "elfcpp.h" + namespace elfcpp { @@ -490,7 +492,7 @@ Elf_file::section_name(unsigned int shndx) // Get the file offset for the section name string table data. off_t shstr_off; - off_t shstr_size; + typename Elf_types::Elf_WXword shstr_size; { const unsigned int shstrndx = this->shstrndx_; typename File::View v(file->view(this->section_header_offset(shstrndx),