#define ElfW(type) Elf_##type
#endif
#if defined(__FreeBSD__) && __FreeBSD__ < 12
typedef Elf_Note Elf_Nhdr;
struct build_id_note {
ElfW(Nhdr) nhdr;