#include <dali/devel-api/adaptor-framework/pixel-buffer.h>
#include <memory>
-#include <dali/internal/system/common/file-closer.h>
-
-using namespace Dali::Internal::Platform;
-
// We need to check if giflib has the new open and close API (including error parameter).
#ifdef GIFLIB_MAJOR
#define LIBGIF_VERSION_5_1_OR_ABOVE
int ReadDataFromGif(GifFileType *gifInfo, GifByteType *data, int length)
{
FILE *fp = reinterpret_cast<FILE*>(gifInfo->UserData);
- return InternalFile::fread( data, sizeof( GifByteType ), length, fp);
+ return fread( data, sizeof( GifByteType ), length, fp);
}
/// Loads the GIF Header.