linux-user: Add configure check for linux/fiemap.h and IOC_FS_FIEMAP
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 10 Jan 2011 13:11:24 +0000 (13:11 +0000)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 11 Jan 2011 23:06:06 +0000 (00:06 +0100)
commita7061c65c92f04d87ae1f0d5b34d1bcf2a55e0a7
tree0d5b474ef6aec3ccd6ed41e3173e2fd8f7c22353
parent6603df9a397d466793f0f43e09d928d08ca05adc
linux-user: Add configure check for linux/fiemap.h and IOC_FS_FIEMAP

Add a configure check for the existence of linux/fiemap.h and the
IOC_FS_FIEMAP ioctl. This fixes a compilation failure on Linux
systems which don't have that header file.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
configure
linux-user/ioctls.h
linux-user/syscall.c