1c9bbed35Skettenis /* XXX This file provides a few defines such that we can compile the
2c9bbed35Skettenis    source from unwind-dw2-fde-glibc.c on OpenBSD.  Hopefully we can
3c9bbed35Skettenis    integrate these defines in that file and rename it to something
4c9bbed35Skettenis    like unwind-de2-fde-phdr.c in the up-stream sources.  */
5c9bbed35Skettenis 
6c9bbed35Skettenis #define ElfW(type) Elf_##type
7c9bbed35Skettenis 
8c9bbed35Skettenis #define __GLIBC__ 3		/* Fool unwind-dw2-fde-glibc.c.  */
9*971e455dSmiod #ifndef __ELF__
10*971e455dSmiod #include <nlist.h>
11*971e455dSmiod #endif
12c9bbed35Skettenis #include "unwind-dw2-fde-glibc.c"
13