Patch by Robert David
SVN revision: 79085
2012-11-09 Vincent Torri
* Fixed longstanding memset bug in evas box.
+
+2012-11-10 Vincent Torri
+
+ * Fix build of eina_file on Solaris 10
eina_file_statat(void *container, Eina_File_Direct_Info *info, Eina_Stat *st)
{
struct stat buf;
-#ifdef HAVE_FSTATAT
+#if defined(HAVE_FSTATAT) && defined(HAVE_DIRFD)
int fd;
#endif
EINA_SAFETY_ON_NULL_RETURN_VAL(info, -1);
EINA_SAFETY_ON_NULL_RETURN_VAL(st, -1);
-#ifdef HAVE_FSTATAT
+#if defined(HAVE_FSTATAT) && defined(HAVE_DIRFD)
fd = dirfd((DIR*) container);
if (fstatat(fd, info->path + info->name_start, &buf, 0))
#else