diff --git a/configure b/configure index 41889f7b4b3d4a5315fc11879cd8b290c0e6fa6b..99a533768f75ac886740be089f02fcb5dd5dee21 100755 --- a/configure +++ b/configure @@ -1733,7 +1733,7 @@ if test "$blobs" = "yes" ; then echo "INSTALL_BLOBS=yes" >> $config_host_mak fi if test "$iovec" = "yes" ; then - echo "#define HAVE_IOVEC 1" >> $config_host_h + echo "#define CONFIG_IOVEC 1" >> $config_host_h fi if test "$preadv" = "yes" ; then echo "#define CONFIG_PREADV 1" >> $config_host_h diff --git a/qemu-common.h b/qemu-common.h index 671c0fce1a10ae5fcb971642d46192ae4a1b2de4..3cf7f4ed6ca24e90342417b44462d8df9346f9ac 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -39,8 +39,8 @@ #define ENOMEDIUM ENODEV #endif -#ifndef HAVE_IOVEC -#define HAVE_IOVEC +#ifndef CONFIG_IOVEC +#define CONFIG_IOVEC struct iovec { void *iov_base; size_t iov_len;