--- OgreMain/src/OgrePlatformInformation.cpp	2015-08-03 22:41:03.964820685 +0200
+++ OgreMain/src/OgrePlatformInformation.cpp	2015-08-03 22:54:13.043818347 +0200
@@ -43,7 +43,9 @@
     #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
         #include <cpu-features.h>
     #elif OGRE_CPU == OGRE_CPU_ARM 
+        #if defined(__GLIBC__)
         #include <sys/sysctl.h>
+        #endif
         #if __MACH__
             #if defined(__GLIBC__)
             #include <mach/machine.h>
