improve linux fiemap support
This commit is contained in:
parent
b1c12d4c69
commit
36809c7007
|
@ -559,6 +559,9 @@ AS_CASE(["$ARG_WITH_ZLIB"],
|
|||
AC_MSG_ERROR([Unknown option "$ARG_WITH_ZLIB". Use either "yes" or "no".])]
|
||||
)
|
||||
|
||||
AC_MSG_CHECKING([for FIEMAP support])
|
||||
AC_CHECK_HEADERS([linux/fiemap.h])
|
||||
|
||||
AC_MSG_CHECKING([whether to link against system libgeoip]) #depends: $ac_arg_enable_geoip
|
||||
AS_CASE(["$ARG_WITH_LIBGEOIP"],
|
||||
["yes"|"system"], [
|
||||
|
|
|
@ -72,7 +72,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
// linux specifics
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
#ifdef FS_IOC_FIEMAP
|
||||
#ifdef HAVE_LINUX_FIEMAP_H
|
||||
#include <linux/fiemap.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue