--- IO-AIO/AIO.xs 2018/08/14 11:44:52 1.264 +++ IO-AIO/AIO.xs 2018/08/14 11:50:43 1.265 @@ -20,7 +20,9 @@ #include #include -#if HAVE_SYS_SYSMACROS_H +#if HAVE_SYS_MKDEV_H +# include +#elif HAVE_SYS_SYSMACROS_H # include #endif