--- libcoro/coro.h 2008/11/08 13:42:28 1.35 +++ libcoro/coro.h 2008/11/08 13:53:27 1.36 @@ -227,6 +227,12 @@ # include # endif +/* solaris is hopelessly borked, it expands _XOPEN_UNIX to nothing */ +# if __sun +# undef _XOPEN_UNIX +# define _XOPEN_UNIX 1 +# endif + # include struct coro_context {