=== modified file 'configure' --- configure 2011-08-12 20:18:50 +0000 +++ configure 2011-08-13 08:31:14 +0000 @@ -2433,7 +2433,9 @@ compile_prog "$spice_cflags" "$spice_libs" ; then spice="yes" libs_softmmu="$libs_softmmu $spice_libs" - QEMU_CFLAGS="$QEMU_CFLAGS $spice_cflags" + # HACK: add -I. to work around alsa adding /usr/include/alsa, + # which contains an error.h shadowing ours. + QEMU_CFLAGS="$QEMU_CFLAGS -I. $spice_cflags" else if test "$spice" = "yes" ; then feature_not_found "spice"