--- libcoro/coro.c 2005/09/05 22:13:05 1.18 +++ libcoro/coro.c 2006/10/26 05:20:47 1.20 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2005 Marc Alexander Lehmann + * Copyright (c) 2001-2006 Marc Alexander Lehmann * * Redistribution and use in source and binary forms, with or without modifica- * tion, are permitted provided that the following conditions are met: @@ -49,6 +49,10 @@ # endif #endif +#if CORO_UCONTEXT +# include +#endif + #if CORO_SJLJ || CORO_LOSER || CORO_LINUX || CORO_IRIX #include @@ -167,7 +171,7 @@ if (~ostk.ss_flags & SS_DISABLE) sigaltstack (&ostk, 0); - sigaction (SIGUSR1, &osa, 0); + sigaction (SIGUSR2, &osa, 0); sigprocmask (SIG_SETMASK, &osig, 0);