diff --git a/legacy/eio/ChangeLog b/legacy/eio/ChangeLog index d576945865..ffe62fce30 100644 --- a/legacy/eio/ChangeLog +++ b/legacy/eio/ChangeLog @@ -43,3 +43,7 @@ 2012-09-10 Cedric Bail * Fix monitor shutdown when mainloop did never run. + +2012-09-14 Cedric Bail + + * Fix build with xattr without splice. diff --git a/legacy/eio/NEWS b/legacy/eio/NEWS index 8a42fa7b9f..fe55f37550 100644 --- a/legacy/eio/NEWS +++ b/legacy/eio/NEWS @@ -7,6 +7,7 @@ Additions: Fixes: - fix monitor shutdown when mainloop did never run. + - fix build with xattr and without splice. Improvements: diff --git a/legacy/eio/src/lib/eio_file.c b/legacy/eio/src/lib/eio_file.c index 247546fcd6..31122d0c1f 100644 --- a/legacy/eio/src/lib/eio_file.c +++ b/legacy/eio/src/lib/eio_file.c @@ -669,7 +669,7 @@ eio_file_copy_do(Ecore_Thread *thread, Eio_File_Progress *copy) } else { -#ifdef HAVE_XATTR +#if defined HAVE_XATTR && defined HAVE_SPLICE _eio_file_copy_xattr(thread, copy, in, out); #endif }