--- IO-AIO/xthread.h 2008/04/12 23:33:11 1.6 +++ IO-AIO/xthread.h 2008/04/21 20:09:41 1.7 @@ -77,6 +77,13 @@ /* just in case */ #define _REENTRANT 1 +#if __solaris +/* try to bribe solaris headers into providing a current pthread API + * despite perl being configured for an older version. + */ +# define __EXTENSIONS__ 1 +#endif + #include #include #include