--- IO-AIO/AIO.xs 2008/05/29 03:20:40 1.124 +++ IO-AIO/AIO.xs 2008/06/19 09:05:43 1.125 @@ -67,6 +67,12 @@ #endif +/* perl stupidly overrides readdir and maybe others */ +/* with thread-unsafe versions, imagine that :( */ +#undef readdir +#undef opendir +#undef closedir + #define EIO_STRUCT_STAT Stat_t /* use NV for 32 bit perls as it allows larger offsets */