$NetBSD: patch-de,v 1.4 2010/02/27 23:21:13 tnn Exp $ --- exec.c.orig 2010-02-23 20:54:38.000000000 +0000 +++ exec.c @@ -463,7 +463,7 @@ static void code_gen_alloc(unsigned long exit(1); } } -#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) +#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__NetBSD__) { int flags; void *addr = NULL;