eina: fix build on FreeBSD.

This commit is contained in:
Cedric Bail 2013-08-06 15:44:22 +09:00
parent ea3f82fa1e
commit c90179ce86
1 changed files with 2 additions and 0 deletions

View File

@ -376,7 +376,9 @@ eina_file_virtualize(const void *data, unsigned long long length, Eina_Bool copy
eina_lock_new(&file->lock);
file->mtime = ti / 1000;
file->length = length;
#ifdef _STAT_VER_LINUX
file->mtime_nsec = ti;
#endif
file->refcount = 1;
file->fd = -1;
file->virtual = EINA_TRUE;