Index: dist/src/jemalloc.c =================================================================== RCS file: /cvsroot/src/external/bsd/jemalloc/dist/src/jemalloc.c,v retrieving revision 1.8 diff -u -r1.8 jemalloc.c --- dist/src/jemalloc.c 3 Oct 2019 16:10:23 -0000 1.8 +++ dist/src/jemalloc.c 1 Feb 2020 11:43:47 -0000 @@ -3213,6 +3213,7 @@ * to trigger the deadlock described above, but doing so would involve forking * via a library constructor that runs before jemalloc's runs. */ +#if !defined(__NetBSD__) #ifndef JEMALLOC_JET JEMALLOC_ATTR(constructor) static void @@ -3220,6 +3221,7 @@ malloc_init(); } #endif +#endif #ifndef JEMALLOC_MUTEX_INIT_CB void