aboutsummaryrefslogtreecommitdiff
path: root/fsdev/qemu-fsdev-dummy.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-03-09 13:24:53 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-16 23:02:23 +0100
commitbd702ffc506b62623bb5c246f7b706be098038b8 (patch)
tree3ecf1c705df39d60f2ade5ba17b44b5e20ab8946 /fsdev/qemu-fsdev-dummy.c
parentbd83c861c0628a64997b7bd95c3bcc2e916baf2e (diff)
downloadqemu-bd702ffc506b62623bb5c246f7b706be098038b8.zip
qemu-bd702ffc506b62623bb5c246f7b706be098038b8.tar.gz
qemu-bd702ffc506b62623bb5c246f7b706be098038b8.tar.bz2
configure: Fix building with SASL on Windows
The Simple Authentication and Security Layer (SASL) library re-defines the struct iovec on Win32 [*]. QEMU also re-defines it in "qemu/osdep.h". The two definitions then clash on a MinGW build. We can avoid the SASL definition by defining STRUCT_IOVEC_DEFINED. Since QEMU already defines 'struct iovec' if it is missing, add the definition to vnc_sasl_cflags to avoid SASL re-defining it. [*] https://github.com/cyrusimap/cyrus-sasl/blob/cyrus-sasl-2.1.27/include/sasl.h#L187 Cc: Alexey Pavlov <alexpux@gmail.com> Cc: Biswapriyo Nath <nathbappai@gmail.com> Reported-by: Youry Metlitsky <winaes@yandex.ru> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200309122454.22551-2-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fsdev/qemu-fsdev-dummy.c')
0 files changed, 0 insertions, 0 deletions