--- libcoro/coro.c 2005/02/22 19:33:17 1.12 +++ libcoro/coro.c 2005/03/21 14:35:22 1.15 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001 Marc Alexander Lehmann + * Copyright (c) 2001-2005 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: @@ -48,7 +48,10 @@ #if CORO_SJLJ || CORO_LOOSE || CORO_LINUX || CORO_IRIX -#include +#if CORO_SJLJ +# include +# include +#endif static volatile coro_func coro_init_func; static volatile void *coro_init_arg; @@ -74,7 +77,7 @@ /* trampoline signal handler */ static void -trampoline(int sig) +trampoline (int sig) { if (setjmp (((coro_context *)new_coro)->env)) coro_init (); /* start it */