diff --git a/Sources/_TestingInternals/include/Includes.h b/Sources/_TestingInternals/include/Includes.h index afa4477f5..fe0c67adf 100644 --- a/Sources/_TestingInternals/include/Includes.h +++ b/Sources/_TestingInternals/include/Includes.h @@ -140,7 +140,10 @@ #endif #if defined(__ANDROID__) +#if defined(__swift__) +// The linux/stat header is private in the Android modulemap. #pragma clang module import posix_filesystem.linux_stat +#endif #include #endif