--- IO-AIO/AIO.xs 2014/01/24 23:46:16 1.228 +++ IO-AIO/AIO.xs 2014/04/11 05:19:40 1.229 @@ -21,7 +21,11 @@ # include #endif -#if __linux__ +/* the incompetent fool that created musl keeps __linux__, refuses + * to implement any linux standard apis, and also has no way to test + * for his broken iplementation. on't complain if this fails for you. + */ +#if __linux__ && (defined __GLIBC__ || defined __UCLIBC__) # include # ifdef FS_IOC_FIEMAP # include