diff --git a/README.md b/README.md index f713acbc..c0226183 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Other compiler may work, but are not tested within the continuous integration. In general, the latest minor release of each listed major compiler version is supported. -* GCC 10, 11, 12 +* GCC 10, 11, 12, 13 * clang 11, 12, 13, 14 Tests are run with both C++20 and C++23. diff --git a/include/sdsl/bits.hpp b/include/sdsl/bits.hpp index 8fa7d4c6..46fb5db7 100644 --- a/include/sdsl/bits.hpp +++ b/include/sdsl/bits.hpp @@ -8,7 +8,17 @@ #ifndef INCLUDED_SDSL_BITS #define INCLUDED_SDSL_BITS +// GCC definitions +#if defined(__x86_64__) #include // IWYU pragma: keep +#endif +#if defined(__aarch64__) || defined(_M_ARM64) +#include +#endif +#if defined(__powerpc__) || defined(__powerpc64__) +#include +#endif + #include #include // for uint64_t uint32_t declaration #ifdef __SSE4_2__