<linux/btrfs.h> has the ioctl definitions we want, so I see no reason for checking for <btrfs/ioctl.h>. --- configure | 1 - ioctls/btrfs.c | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/configure b/configure index dc09317..dff66d3 100755 --- a/configure +++ b/configure @@ -255,7 +255,6 @@ check_header linux/if_alg.h USE_IF_ALG check_header linux/rds.h USE_RDS check_header linux/vfio.h USE_VFIO check_header linux/btrfs.h USE_BTRFS -check_header btrfs/ioctl.h USE_BTRFS_IOCTL check_header drm/drm.h USE_DRM check_header drm/exynos_drm.h USE_DRM_EXYNOS check_header sound/compress_offload.h USE_SNDDRV_COMPRESS_OFFLOAD diff --git a/ioctls/btrfs.c b/ioctls/btrfs.c index 374baa6..fd9c4b4 100644 --- a/ioctls/btrfs.c +++ b/ioctls/btrfs.c @@ -1,9 +1,8 @@ #include "config.h" -#ifdef USE_BTRFS_IOCTL +#ifdef USE_BTRFS #include <stdio.h> #include <linux/fs.h> - -#include <btrfs/ioctl.h> +#include <linux/btrfs.h> #include "ioctls.h" #include "shm.h" #include "utils.h" @@ -122,4 +121,4 @@ static const struct ioctl_group btrfs_grp = { }; REG_IOCTL_GROUP(btrfs_grp) -#endif /* USE_BTRFS_IOCTL */ +#endif /* USE_BTRFS */ -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe trinity" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html