On Sun, Jan 9, 2011 at 5:47 PM, riku voipio <riku.voi...@iki.fi> wrote: > On 01/09/2011 04:47 PM, Blue Swirl wrote: >> >> This fails if the file doesn't exist: >> CC i386-linux-user/syscall.o >> /src/qemu/linux-user/syscall.c:86:26: error: linux/fiemap.h: No such >> file or directory > >> The fix is to introduce a feature check in configure. > > Perhaps we can do without configure check, since FS_IOC_FIEMAP is defined in > fs.h if fiemap.h is available. See the attached patch.
It's a bit fragile compared to a configure check, but I confirm it works. Acked-by: Blue Swirl <blauwir...@gmail.com>