diff --git a/modules/core/src/system.cpp b/modules/core/src/system.cpp index 9bade08..28f006e 100644 --- a/modules/core/src/system.cpp +++ b/modules/core/src/system.cpp @@ -129,11 +129,15 @@ void* allocSingletonNewBuffer(size_t size) { return malloc(size); } #include // std::abort #endif -#if defined __ANDROID__ || defined __unix__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __HAIKU__ +#if defined __ANDROID__ || defined __unix__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __HAIKU__ || 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