diff options
Diffstat (limited to 'boehm-gc/dyn_load.c')
-rw-r--r-- | boehm-gc/dyn_load.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/boehm-gc/dyn_load.c b/boehm-gc/dyn_load.c index dfe0a3c87e8..c5139aa80a8 100644 --- a/boehm-gc/dyn_load.c +++ b/boehm-gc/dyn_load.c @@ -80,6 +80,11 @@ # define l_name lm_name #endif +#if defined(NETBSD) +# include <machine/elf_machdep.h> +# define ELFSIZE ARCH_ELFSIZE +#endif + #if defined(LINUX) && defined(__ELF__) || defined(SCO_ELF) || \ (defined(FREEBSD) && defined(__ELF__)) || defined(DGUX) || \ (defined(NETBSD) && defined(__ELF__)) || defined(HURD) |