diff --git a/libcxx/include/__configuration/platform.h b/libcxx/include/__configuration/platform.h index f3c199dee172b..cf7d9d965cf30 100644 --- a/libcxx/include/__configuration/platform.h +++ b/libcxx/include/__configuration/platform.h @@ -49,6 +49,11 @@ # include #endif +// TODO: we should remove this once (#147956) is merged, for the same reason as listed above. +#if __has_include(<__llvm-libc-common.h>) +# include <__llvm-libc-common.h> +#endif + #ifndef __BYTE_ORDER__ # error \ "Your compiler doesn't seem to define __BYTE_ORDER__, which is required by libc++ to know the endianness of your target platform"