$NetBSD: patch-ab,v 1.1.1.1 2009/04/06 10:17:32 wiz Exp $ --- src/coroutine_ucontext.c.orig 2008-09-05 12:32:16.000000000 +0000 +++ src/coroutine_ucontext.c @@ -14,6 +14,10 @@ #include #include "coroutine.h" +#ifndef MAP_ANONYMOUS +#define MAP_ANONYMOUS MAP_ANON +#endif + int coroutine_release(struct coroutine *co) { return cc_release(&co->cc);