--- misc.c.orig Thu Jun 28 20:14:55 2007 +++ misc.c Fri Jul 6 22:13:16 2007 @@ -629,7 +629,10 @@ void GC_init_inner() # if defined(SEARCH_FOR_DATA_START) GC_init_linux_data_start(); # endif -# if (defined(NETBSD) || defined(OPENBSD)) && defined(__ELF__) +#if defined(OPENBSD) + GC_init_openbsd(); +#endif +# if defined(NETBSD) && defined(__ELF__) GC_init_netbsd_elf(); # endif # if !defined(THREADS) || defined(GC_PTHREADS) || defined(GC_WIN32_THREADS) \