diff --git a/exec.c b/exec.c index 5bc920313af1395b751528f0586cfe1372fca87f..719fff9a915f07d0ff2f7c313bceacb6a16332ab 100644 --- a/exec.c +++ b/exec.c @@ -526,7 +526,8 @@ static void code_gen_alloc(unsigned long tb_size) } } #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) \ - || defined(__DragonFly__) || defined(__OpenBSD__) + || defined(__DragonFly__) || defined(__OpenBSD__) \ + || defined(__NetBSD__) { int flags; void *addr = NULL;