diff --git a/modules/core/src/system.cpp b/modules/core/src/system.cpp index 7811ab7..8f00891 100644 --- a/modules/core/src/system.cpp +++ b/modules/core/src/system.cpp @@ -120,11 +120,15 @@ void* allocSingletonNewBuffer(size_t size) { return malloc(size); } #include // std::abort #endif -#if defined __ANDROID__ || defined __unix__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __HAIKU__ || defined __Fuchsia__ +#if defined __ANDROID__ || defined __unix__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __HAIKU__ || defined __Fuchsia__ || defined __QNX__ # include # include #if defined __QNX__ # include +# include +using Elf64_auxv_t = auxv64_t; +# include +constexpr decltype(auto) AT_HWCAP = NT_GNU_HWCAP; #else # include #endif