diff --git a/src/osgDB/FileUtils.cpp b/src/osgDB/FileUtils.cpp index 33c00b37c..b6cb5b50a 100644 --- a/src/osgDB/FileUtils.cpp +++ b/src/osgDB/FileUtils.cpp @@ -95,6 +95,10 @@ typedef char TCHAR; #endif #endif +#if defined(__ANDROID__) + #define stat64 stat +#endif + // set up _S_ISDIR() #if !defined(S_ISDIR) # if defined( _S_IFDIR) && !defined( __S_IFDIR)