diff --git a/core/tremor/misc.h b/core/tremor/misc.h index 2253c88..cb6dfcc 100644 --- a/core/tremor/misc.h +++ b/core/tremor/misc.h @@ -23,7 +23,7 @@ #include "asm_arm.h" #include /* for abs() */ -#ifdef GEKKO +#if defined(GEKKO) && !defined(__LIBRETRO__) #include #endif @@ -37,6 +37,8 @@ #include #endif +#if !defined(__LIBRETRO__) && defined(GEKKO) +#ifndef __CELLOS_LV2__ #ifndef _XBOX360 #if BYTE_ORDER==LITTLE_ENDIAN union magic { @@ -48,6 +50,8 @@ union magic { }; #endif #endif +#endif +#endif #ifndef ANDROID #if BYTE_ORDER==BIG_ENDIAN