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