diff options
-rw-r--r-- | coro.c | 6 | ||||
-rw-r--r-- | coro.h | 7 |
2 files changed, 11 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2005 Marc Alexander Lehmann <schmorp@schmorp.de> + * Copyright (c) 2001-2006 Marc Alexander Lehmann <schmorp@schmorp.de> * * 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 <stddef.h> +#endif + #if CORO_SJLJ || CORO_LOSER || CORO_LINUX || CORO_IRIX #include <stdlib.h> @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2005 Marc Alexander Lehmann <schmorp@schmorp.de> + * Copyright (c) 2001-2006 Marc Alexander Lehmann <schmorp@schmorp.de> * * Redistribution and use in source and binary forms, with or without modifica- * tion, are permitted provided that the following conditions are met: @@ -35,6 +35,11 @@ * */ +/* + * 2006-10-26 Include stddef.h on OS X to work around one of its bugs. + * Reported by Michael_G_Schwern. + */ + #ifndef CORO_H #define CORO_H |