diff --git a/src/cpuinfo/SDL_cpuinfo.c b/src/cpuinfo/SDL_cpuinfo.c index b241cb51b..c791baa86 100644 --- a/src/cpuinfo/SDL_cpuinfo.c +++ b/src/cpuinfo/SDL_cpuinfo.c @@ -51,7 +51,13 @@ #endif #if (defined(__LINUX__) || defined(__ANDROID__)) && defined(__ARM_ARCH) -#include +/*#include */ +#ifndef AT_HWCAP +#define AT_HWCAP 16 +#endif +#ifndef HWCAP_NEON +#define HWCAP_NEON (1 << 12) +#endif #if defined HAVE_GETAUXVAL #include #else